Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Examples.Performance.Example1v2.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.001254/0.001254, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.00137/0.00137, allocations: 206.6 kB / 23 MB, free: 4.934 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.432/1.432, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.139/3.139, allocations: 0.49 GB / 0.7959 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.Example1v2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.Example1v2") translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.Example1v2") [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.002043/0.002043, allocations: 68.8 kB / 1.155 GB, free: 25.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3381, allocations: 176.1 MB / 1.327 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v2): time 0.08203/0.4201, allocations: 74.58 MB / 1.4 GB, free: 6.145 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.0318/0.4519, allocations: 19.54 MB / 1.419 GB, free: 2.566 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003596/0.4555, allocations: 158.7 kB / 1.419 GB, free: 2.41 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.00572/0.4612, allocations: 1.976 MB / 1.421 GB, free: 436 kB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.008338/0.4696, allocations: 3.085 MB / 1.424 GB, free: 13.32 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.006299/0.4759, allocations: 2.589 MB / 1.427 GB, free: 10.75 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.03412/0.51, allocations: 30.42 MB / 1.456 GB, free: 12.25 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01805/0.528, allocations: 12.49 MB / 1.469 GB, free: 15.63 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0231/0.5511, allocations: 12.18 MB / 1.48 GB, free: 3.477 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02228/0.5734, allocations: 12.34 MB / 1.492 GB, free: 7.102 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.005003/0.5784, allocations: 1.293 MB / 1.494 GB, free: 5.809 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00992/0.5883, allocations: 2.642 MB / 1.496 GB, free: 3.164 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.006955/0.5953, allocations: 3.898 MB / 1.5 GB, free: 15.25 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.01199/0.6073, allocations: 5.724 MB / 1.506 GB, free: 9.508 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.02582/0.6331, allocations: 19.33 MB / 1.525 GB, free: 6.121 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.6331, allocations: 0 / 1.525 GB, free: 6.121 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.854e-06/0.6331, allocations: 0 / 1.525 GB, free: 6.121 MB / 1.217 GB Notification: Performance of Transformations before backend: time 0.0004757/0.6336, allocations: 0 / 1.525 GB, free: 6.121 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1422 * Number of variables: 1422 Notification: Performance of Generate backend data structure: time 0.03358/0.6672, allocations: 11.63 MB / 1.536 GB, free: 10.39 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.6672, allocations: 8.031 kB / 1.536 GB, free: 10.38 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008603/0.6758, allocations: 1.446 MB / 1.537 GB, free: 8.93 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02784/0.7037, allocations: 11.31 MB / 1.548 GB, free: 13.5 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004389/0.7041, allocations: 435.1 kB / 1.549 GB, free: 13.08 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003069/0.7072, allocations: 0.5858 MB / 1.549 GB, free: 12.49 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03753/0.7447, allocations: 16.39 MB / 1.565 GB, free: 11.44 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001958/0.7449, allocations: 23.83 kB / 1.565 GB, free: 11.42 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002098/0.747, allocations: 240 kB / 1.566 GB, free: 11.18 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001159/0.7471, allocations: 140 kB / 1.566 GB, free: 11.05 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03426/0.7814, allocations: 20.09 MB / 1.585 GB, free: 6.934 MB / 1.279 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 1.288/2.07, allocations: 51.34 MB / 1.636 GB, free: 238.1 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01227/2.082, allocations: 8.162 MB / 1.644 GB, free: 235.2 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009581/2.091, allocations: 7.596 MB / 1.651 GB, free: 232.5 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03908/2.131, allocations: 24.22 MB / 1.675 GB, free: 216.9 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008389/2.139, allocations: 8.841 MB / 1.683 GB, free: 209.2 MB / 1.295 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02121/2.16, allocations: 6.938 MB / 1.69 GB, free: 203.1 MB / 1.295 GB Notification: Performance of pre-optimization done (n=298): time 1.586e-05/2.16, allocations: 0 / 1.69 GB, free: 203.1 MB / 1.295 GB Notification: Performance of matching and sorting (n=298): time 0.0411/2.201, allocations: 23.54 MB / 1.713 GB, free: 179.9 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/2.201, allocations: 81.75 kB / 1.713 GB, free: 179.8 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008737/2.21, allocations: 8.253 MB / 1.721 GB, free: 171.8 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.001606/2.212, allocations: 97.7 kB / 1.721 GB, free: 171.7 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.002815/2.214, allocations: 4.303 MB / 1.725 GB, free: 167.8 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.001939/2.216, allocations: 1.129 MB / 1.727 GB, free: 166.9 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002662/2.219, allocations: 1.777 MB / 1.728 GB, free: 165.1 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 3.898e-05/2.219, allocations: 305.1 kB / 1.729 GB, free: 164.8 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007428/2.226, allocations: 6.755 MB / 1.735 GB, free: 158 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008415/2.235, allocations: 9.832 MB / 1.745 GB, free: 147 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01674/2.252, allocations: 15.59 MB / 1.76 GB, free: 130.7 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.029e-05/2.252, allocations: 16 kB / 1.76 GB, free: 130.7 MB / 1.295 GB Notification: Performance of matching and sorting (n=644) (initialization): time 0.02698/2.279, allocations: 18.05 MB / 1.778 GB, free: 112.6 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 5.119e-05/2.279, allocations: 57.62 kB / 1.778 GB, free: 112.5 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.886e-05/2.279, allocations: 51.94 kB / 1.778 GB, free: 112.5 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07006/2.349, allocations: 11.58 MB / 1.789 GB, free: 100.9 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008274/2.357, allocations: 1.616 MB / 1.791 GB, free: 99.31 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004731/2.362, allocations: 3.779 MB / 1.794 GB, free: 95.46 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009006/2.371, allocations: 359.6 kB / 1.795 GB, free: 95.12 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001708/2.373, allocations: 0.5505 MB / 1.795 GB, free: 94.57 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0113/2.384, allocations: 9.168 MB / 1.804 GB, free: 85.38 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008115/2.392, allocations: 9.795 MB / 1.814 GB, free: 74.41 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01624/2.408, allocations: 15.52 MB / 1.829 GB, free: 58.17 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.524e-05/2.408, allocations: 16 kB / 1.829 GB, free: 58.15 MB / 1.295 GB Notification: Performance of matching and sorting (n=644) (initialization_lambda0): time 0.02632/2.435, allocations: 17.85 MB / 1.846 GB, free: 40.22 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 5.058e-05/2.435, allocations: 50.64 kB / 1.846 GB, free: 40.17 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.447e-05/2.435, allocations: 52 kB / 1.846 GB, free: 40.12 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06803/2.503, allocations: 11.13 MB / 1.857 GB, free: 29.02 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008022/2.511, allocations: 1.6 MB / 1.859 GB, free: 27.41 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008042/2.519, allocations: 7.771 MB / 1.866 GB, free: 19.44 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009181/2.528, allocations: 368.2 kB / 1.867 GB, free: 19.09 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001775/2.53, allocations: 0.5421 MB / 1.867 GB, free: 18.55 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 221 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (558): * Single equations (assignments): 552 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,5), (20,21), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.00211/2.532, allocations: 0.4954 MB / 1.868 GB, free: 18.07 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002922/2.535, allocations: 0.7878 MB / 1.869 GB, free: 17.28 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02009/2.555, allocations: 14.02 MB / 1.882 GB, free: 3.23 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01554/2.57, allocations: 10.66 MB / 1.893 GB, free: 8.469 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.211e-05/2.57, allocations: 0 / 1.893 GB, free: 8.469 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007087/2.577, allocations: 1.856 MB / 1.894 GB, free: 6.613 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002202/2.58, allocations: 75.92 kB / 1.895 GB, free: 6.539 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005626/2.585, allocations: 204.3 kB / 1.895 GB, free: 6.344 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001076/2.586, allocations: 270.2 kB / 1.895 GB, free: 6.078 MB / 1.311 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02292/2.609, allocations: 11.58 MB / 1.906 GB, free: 10.45 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03001/2.639, allocations: 19.16 MB / 1.925 GB, free: 7.219 MB / 1.342 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007556/2.647, allocations: 5.011 MB / 1.93 GB, free: 2.195 MB / 1.342 GB Notification: Performance of sorting global known variables: time 0.009273/2.656, allocations: 5.58 MB / 1.935 GB, free: 12.64 MB / 1.358 GB Notification: Performance of Backend: time 6.01e-07/2.656, allocations: 0 / 1.935 GB, free: 12.64 MB / 1.358 GB Notification: Performance of simCode: created initialization part: time 0.03665/2.693, allocations: 17.63 MB / 1.953 GB, free: 11.03 MB / 1.373 GB Notification: Performance of SimCode: time 0.04164/2.734, allocations: 21.4 MB / 1.973 GB, free: 5.762 MB / 1.389 GB Notification: Performance of Templates: time 1/3.735, allocations: 293.8 MB / 2.26 GB, free: 0.563 GB / 1.639 GB " [Timeout remaining time 296] make -j1 -f Buildings_12_Buildings.Fluid.Examples.Performance.Example1v2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.Performance.Example1v2.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.Performance.Example1v2.sim & ./Buildings_12_Buildings.Fluid.Examples.Performance.Example1v2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Examples.Performance.Example1v2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Examples.Performance.Example1v2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Examples_Performance_Example1v2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Examples.Performance.Example1v2.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: 17.801001924002776]