Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001864/0.001864, allocations: 109.1 kB / 18.99 MB, free: 2.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002336/0.002336, allocations: 214 kB / 22.29 MB, free: 5.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.584/1.584, allocations: 230.6 MB / 256.1 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.434/3.434, allocations: 0.5107 GB / 0.8159 GB, free: 17.73 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example4") translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example4") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002153/0.002153, allocations: 74.64 kB / 1.186 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3422, allocations: 181.9 MB / 1.364 GB, free: 13.5 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.2755/0.6177, allocations: 211.1 MB / 1.57 GB, free: 9.629 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.02351/0.6412, allocations: 14.62 MB / 1.584 GB, free: 10.97 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002247/0.6435, allocations: 87.25 kB / 1.585 GB, free: 10.88 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.002814/0.6463, allocations: 1.002 MB / 1.585 GB, free: 9.875 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.007988/0.6543, allocations: 3.09 MB / 1.589 GB, free: 6.773 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.004393/0.6587, allocations: 1.716 MB / 1.59 GB, free: 5.066 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.005196/0.6639, allocations: 3.452 MB / 1.594 GB, free: 1.605 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001702/0.6656, allocations: 0.9949 MB / 1.595 GB, free: 0.5742 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007593/0.6731, allocations: 2.889 MB / 1.597 GB, free: 13.69 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002934/0.6761, allocations: 1.073 MB / 1.598 GB, free: 12.62 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.0004523/0.6765, allocations: 120 kB / 1.599 GB, free: 12.5 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005811/0.6823, allocations: 2.54 MB / 1.601 GB, free: 9.957 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.000825/0.6832, allocations: 494.2 kB / 1.601 GB, free: 9.473 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.001501/0.6847, allocations: 0.6531 MB / 1.602 GB, free: 8.816 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.006161/0.6908, allocations: 2.92 MB / 1.605 GB, free: 5.887 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.6908, allocations: 0 / 1.605 GB, free: 5.887 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.222e-06/0.6908, allocations: 0 / 1.605 GB, free: 5.887 MB / 1.295 GB Notification: Performance of Transformations before backend: time 2.636e-05/0.6909, allocations: 0 / 1.605 GB, free: 5.887 MB / 1.295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.004079/0.6949, allocations: 1.993 MB / 1.607 GB, free: 3.852 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.695, allocations: 12.03 kB / 1.607 GB, free: 3.84 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003017/0.698, allocations: 0.5102 MB / 1.607 GB, free: 3.328 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002615/0.7006, allocations: 1.117 MB / 1.608 GB, free: 2.164 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.531e-05/0.7007, allocations: 78 kB / 1.609 GB, free: 2.086 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001634/0.7009, allocations: 99.98 kB / 1.609 GB, free: 1.988 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002793/0.7037, allocations: 1.454 MB / 1.61 GB, free: 400 kB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.069e-05/0.7037, allocations: 7.938 kB / 1.61 GB, free: 392 kB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001163/0.7038, allocations: 47.94 kB / 1.61 GB, free: 344 kB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.295e-05/0.7039, allocations: 45.98 kB / 1.61 GB, free: 296 kB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6413/1.345, allocations: 1.04 MB / 1.611 GB, free: 249.2 MB / 1.295 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.007107/1.352, allocations: 5.791 MB / 1.617 GB, free: 245.5 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001678/1.354, allocations: 0.5224 MB / 1.617 GB, free: 245.4 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006497/1.355, allocations: 246.2 kB / 1.618 GB, free: 245.3 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00028/1.355, allocations: 54.05 kB / 1.618 GB, free: 245.3 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/1.355, allocations: 39.02 kB / 1.618 GB, free: 245.3 MB / 1.295 GB Notification: Performance of pre-optimization done (n=33): time 2.234e-06/1.355, allocations: 3.938 kB / 1.618 GB, free: 245.2 MB / 1.295 GB Notification: Performance of matching and sorting (n=33): time 0.002508/1.357, allocations: 0.8257 MB / 1.618 GB, free: 245 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/1.357, allocations: 55.28 kB / 1.619 GB, free: 244.9 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001685/1.359, allocations: 1.119 MB / 1.62 GB, free: 244.5 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 6.244e-05/1.359, allocations: 34.08 kB / 1.62 GB, free: 244.4 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004377/1.36, allocations: 0.7402 MB / 1.62 GB, free: 243.9 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/1.36, allocations: 135.8 kB / 1.621 GB, free: 243.9 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002726/1.36, allocations: 163 kB / 1.621 GB, free: 243.8 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 6.69e-05/1.36, allocations: 338.1 kB / 1.621 GB, free: 243.4 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009224/1.361, allocations: 312.3 kB / 1.621 GB, free: 243.4 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001222/1.362, allocations: 0.9701 MB / 1.622 GB, free: 242.5 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001895/1.364, allocations: 0.9217 MB / 1.623 GB, free: 241.8 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.366e-05/1.364, allocations: 3.375 kB / 1.623 GB, free: 241.8 MB / 1.295 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002705/1.367, allocations: 1.034 MB / 1.624 GB, free: 241.5 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/1.367, allocations: 13 kB / 1.624 GB, free: 241.5 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-05/1.367, allocations: 12 kB / 1.624 GB, free: 241.5 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.457e-05/1.367, allocations: 16.09 kB / 1.624 GB, free: 241.5 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008558/1.368, allocations: 203.8 kB / 1.624 GB, free: 241.4 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.818e-05/1.368, allocations: 22.08 kB / 1.624 GB, free: 241.4 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/1.369, allocations: 147.9 kB / 1.625 GB, free: 241.4 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.99e-05/1.369, allocations: 44.25 kB / 1.625 GB, free: 241.4 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001239/1.37, allocations: 0.5659 MB / 1.625 GB, free: 241.1 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001005/1.371, allocations: 0.9734 MB / 1.626 GB, free: 240.2 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001576/1.373, allocations: 0.9258 MB / 1.627 GB, free: 239.6 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.201e-06/1.373, allocations: 5.375 kB / 1.627 GB, free: 239.6 MB / 1.295 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002362/1.375, allocations: 1.028 MB / 1.628 GB, free: 239.2 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/1.375, allocations: 14.47 kB / 1.628 GB, free: 239.2 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/1.375, allocations: 11.03 kB / 1.628 GB, free: 239.2 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/1.375, allocations: 18.11 kB / 1.628 GB, free: 239.2 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008935/1.376, allocations: 203 kB / 1.628 GB, free: 239.2 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.702e-05/1.376, allocations: 25.41 kB / 1.628 GB, free: 239.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/1.378, allocations: 130 kB / 1.628 GB, free: 239.2 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.941e-05/1.378, allocations: 46.69 kB / 1.628 GB, free: 239.2 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002873/1.378, allocations: 237.4 kB / 1.629 GB, free: 239 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000232/1.378, allocations: 122.7 kB / 1.629 GB, free: 238.9 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001912/1.38, allocations: 0.6275 MB / 1.629 GB, free: 238.7 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/1.38, allocations: 7.141 kB / 1.629 GB, free: 238.7 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/1.38, allocations: 0.5312 kB / 1.629 GB, free: 238.7 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/1.38, allocations: 1.828 kB / 1.629 GB, free: 238.7 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003706/1.384, allocations: 1.646 MB / 1.631 GB, free: 237.9 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/1.384, allocations: 3.312 kB / 1.631 GB, free: 237.9 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005042/1.384, allocations: 92.8 kB / 1.631 GB, free: 237.9 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.807e-06/1.384, allocations: 4.594 kB / 1.631 GB, free: 237.9 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.022e-05/1.384, allocations: 16.7 kB / 1.631 GB, free: 237.9 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.766e-06/1.384, allocations: 9.719 kB / 1.631 GB, free: 237.9 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/1.384, allocations: 9.141 kB / 1.631 GB, free: 237.9 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001561/1.386, allocations: 0.7738 MB / 1.632 GB, free: 237.4 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004323/1.386, allocations: 183.8 kB / 1.632 GB, free: 237.3 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001471/1.387, allocations: 16.08 kB / 1.632 GB, free: 237.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008815/1.387, allocations: 62.23 kB / 1.632 GB, free: 237.3 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/1.388, allocations: 37.16 kB / 1.632 GB, free: 237.3 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-05/1.388, allocations: 22.81 kB / 1.632 GB, free: 237.3 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001426/1.389, allocations: 0.7467 MB / 1.633 GB, free: 237 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.5e-07/1.389, allocations: 0 / 1.633 GB, free: 237 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002993/1.392, allocations: 0.6415 MB / 1.634 GB, free: 236.9 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006888/1.393, allocations: 259.8 kB / 1.634 GB, free: 236.8 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.00352/1.396, allocations: 1.086 MB / 1.635 GB, free: 236.5 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/1.396, allocations: 1.469 kB / 1.635 GB, free: 236.5 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0007063/1.397, allocations: 243.3 kB / 1.635 GB, free: 236.4 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002332/1.399, allocations: 455.9 kB / 1.636 GB, free: 236.3 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005006/1.404, allocations: 2.236 MB / 1.638 GB, free: 235.1 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007141/1.405, allocations: 0.5946 MB / 1.638 GB, free: 234.9 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001321/1.406, allocations: 336.2 kB / 1.639 GB, free: 234.9 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002237/1.407, allocations: 81.38 kB / 1.639 GB, free: 234.9 MB / 1.295 GB Notification: Performance of SimCode: time 1.342e-06/1.407, allocations: 0 / 1.639 GB, free: 234.9 MB / 1.295 GB Notification: Performance of Templates: time 0.0337/1.44, allocations: 17.77 MB / 1.656 GB, free: 228.8 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.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: 11.15880553983152]