Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 109.7 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 190.6 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 225.6 MB / 249.3 MB, free: 3.207 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.52/2.52, allocations: 476.7 MB / 0.7628 GB, free: 15.28 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001774/0.001774, allocations: 71.89 kB / 1.107 GB, free: 5.168 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7864/0.7882, allocations: 168.7 MB / 1.271 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1936/0.9818, allocations: 177 MB / 1.444 GB, free: 2.988 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02/1.002, allocations: 15.9 MB / 1.46 GB, free: 3.746 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001495/1.003, allocations: 31.81 kB / 1.46 GB, free: 3.715 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001694/1.005, allocations: 0.6323 MB / 1.46 GB, free: 3.078 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.004383/1.009, allocations: 1.616 MB / 1.462 GB, free: 1.457 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004065/1.013, allocations: 1.717 MB / 1.464 GB, free: 15.75 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0043/1.018, allocations: 2.906 MB / 1.466 GB, free: 12.83 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002251/1.02, allocations: 1.477 MB / 1.468 GB, free: 11.29 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003669/1.024, allocations: 1.424 MB / 1.469 GB, free: 9.898 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001318/1.025, allocations: 1.078 MB / 1.47 GB, free: 8.816 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002902/1.025, allocations: 196 kB / 1.471 GB, free: 8.625 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002591/1.028, allocations: 1.369 MB / 1.472 GB, free: 7.254 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0005057/1.028, allocations: 0.5802 MB / 1.472 GB, free: 6.672 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0009705/1.029, allocations: 1.034 MB / 1.473 GB, free: 5.633 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003638/1.033, allocations: 3.032 MB / 1.476 GB, free: 2.59 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/1.033, allocations: 7.938 kB / 1.476 GB, free: 2.582 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.583e-06/1.033, allocations: 0 / 1.476 GB, free: 2.582 MB / 1.154 GB Notification: Performance of Transformations before backend: time 4.278e-05/1.033, allocations: 3.984 kB / 1.476 GB, free: 2.578 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.00385/1.037, allocations: 2.353 MB / 1.479 GB, free: 160 kB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/1.037, allocations: 12.03 kB / 1.479 GB, free: 148 kB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002911/1.037, allocations: 240.3 kB / 1.479 GB, free: 15.9 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002934/1.04, allocations: 482.2 kB / 1.479 GB, free: 15.43 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001812/1.042, allocations: 1.149 MB / 1.481 GB, free: 14.23 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.371e-05/1.042, allocations: 119.2 kB / 1.481 GB, free: 14.11 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002121/1.042, allocations: 160 kB / 1.481 GB, free: 13.96 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002808/1.045, allocations: 1.784 MB / 1.483 GB, free: 12.09 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.282e-05/1.045, allocations: 4 kB / 1.483 GB, free: 12.09 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001571/1.045, allocations: 68 kB / 1.483 GB, free: 12.02 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.518e-05/1.045, allocations: 55.94 kB / 1.483 GB, free: 11.97 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002954/1.048, allocations: 1.764 MB / 1.484 GB, free: 10.2 MB / 1.17 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007836/1.056, allocations: 6.162 MB / 1.49 GB, free: 3.676 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00259/1.059, allocations: 1.481 MB / 1.492 GB, free: 2.133 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009668/1.06, allocations: 0.5269 MB / 1.492 GB, free: 1.605 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008749/1.061, allocations: 0.8789 MB / 1.493 GB, free: 0.5391 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001386/1.062, allocations: 0.7972 MB / 1.494 GB, free: 15.73 MB / 1.186 GB Notification: Performance of pre-optimization done (n=126): time 2.696e-06/1.062, allocations: 0 / 1.494 GB, free: 15.73 MB / 1.186 GB Notification: Performance of matching and sorting (n=126): time 0.004562/1.067, allocations: 1.891 MB / 1.496 GB, free: 13.8 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/1.067, allocations: 200.9 kB / 1.496 GB, free: 13.57 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001244/1.068, allocations: 0.9798 MB / 1.497 GB, free: 12.57 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001049/1.068, allocations: 57.7 kB / 1.497 GB, free: 12.51 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005307/1.069, allocations: 0.6697 MB / 1.498 GB, free: 11.83 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003609/1.069, allocations: 440.2 kB / 1.498 GB, free: 11.39 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003454/1.069, allocations: 214.8 kB / 1.498 GB, free: 11.18 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001471/1.069, allocations: 349.9 kB / 1.499 GB, free: 10.83 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008721/1.07, allocations: 430.4 kB / 1.499 GB, free: 10.41 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/1.071, allocations: 0.5897 MB / 1.5 GB, free: 9.773 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001928/1.073, allocations: 1.015 MB / 1.501 GB, free: 8.734 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/1.073, allocations: 0 / 1.501 GB, free: 8.734 MB / 1.186 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002822/1.076, allocations: 1.321 MB / 1.502 GB, free: 7.402 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/1.076, allocations: 7.938 kB / 1.502 GB, free: 7.395 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/1.076, allocations: 80 / 1.502 GB, free: 7.395 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005687/1.077, allocations: 88.92 kB / 1.502 GB, free: 7.305 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/1.078, allocations: 275.6 kB / 1.502 GB, free: 7.035 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002134/1.08, allocations: 1.654 MB / 1.504 GB, free: 5.238 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001072/1.081, allocations: 143.2 kB / 1.504 GB, free: 5.098 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.28e-05/1.081, allocations: 43.97 kB / 1.504 GB, free: 5.055 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (136): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.00064/1.082, allocations: 389.6 kB / 1.504 GB, free: 4.664 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002672/1.082, allocations: 147 kB / 1.505 GB, free: 4.52 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003408/1.085, allocations: 1.598 MB / 1.506 GB, free: 2.906 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/1.085, allocations: 16 kB / 1.506 GB, free: 2.891 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/1.085, allocations: 0 / 1.506 GB, free: 2.891 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.375e-05/1.086, allocations: 7.969 kB / 1.506 GB, free: 2.883 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005174/1.091, allocations: 3.163 MB / 1.509 GB, free: 15.66 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/1.091, allocations: 7.875 kB / 1.509 GB, free: 15.65 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001226/1.092, allocations: 271.7 kB / 1.51 GB, free: 15.38 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000423/1.092, allocations: 80.72 kB / 1.51 GB, free: 15.3 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.899e-05/1.092, allocations: 35.97 kB / 1.51 GB, free: 15.27 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001932/1.094, allocations: 1.674 MB / 1.511 GB, free: 13.44 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/1.094, allocations: 0 / 1.511 GB, free: 13.44 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00414/1.098, allocations: 2.191 MB / 1.513 GB, free: 11.23 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006233/1.099, allocations: 411.6 kB / 1.514 GB, free: 10.8 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001755/1.099, allocations: 27.95 kB / 1.514 GB, free: 10.78 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/1.1, allocations: 87.95 kB / 1.514 GB, free: 10.7 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001887/1.101, allocations: 93.17 kB / 1.514 GB, free: 10.61 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001223/1.101, allocations: 63.95 kB / 1.514 GB, free: 10.54 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0009105/1.102, allocations: 0.6841 MB / 1.515 GB, free: 9.852 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.3e-07/1.102, allocations: 7.938 kB / 1.515 GB, free: 9.844 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001303/1.103, allocations: 0.5494 MB / 1.515 GB, free: 9.293 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (137): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006322/1.109, allocations: 3.336 MB / 1.519 GB, free: 6.121 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002497/1.112, allocations: 1.201 MB / 1.52 GB, free: 4.906 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/1.112, allocations: 4.438 kB / 1.52 GB, free: 4.902 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001325/1.113, allocations: 0.7129 MB / 1.52 GB, free: 4.18 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002227/1.115, allocations: 0.5832 MB / 1.521 GB, free: 3.617 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01603/1.131, allocations: 10.09 MB / 1.531 GB, free: 9.355 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009057/1.132, allocations: 1.307 MB / 1.532 GB, free: 8.02 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001329/1.133, allocations: 434.8 kB / 1.533 GB, free: 7.59 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009111/1.134, allocations: 0.6749 MB / 1.533 GB, free: 6.914 MB / 1.217 GB Notification: Performance of SimCode: time 5.81e-07/1.134, allocations: 0 / 1.533 GB, free: 6.914 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07833/1.213, allocations: 37.7 MB / 1.57 GB, free: 1.629 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.72/13.94, allocations: 6.641 kB / 1.57 GB, free: 1.625 MB / 1.248 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sources_Examples_Outside_Cp_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sources_Examples_Outside_Cp.fmu > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.453028079000433]