Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Examples.Performance.Example3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) 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: translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Examples.Performance.Example3") translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 116.7 kB / 16.81 MB, free: 5.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 199.2 kB / 17.77 MB, free: 5.117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.696/2.696, allocations: 476.7 MB / 0.7556 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 63.12 kB / 1.097 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3307, allocations: 168.7 MB / 1.262 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.03688/0.3676, allocations: 33.45 MB / 1.295 GB, free: 11.36 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01961/0.3872, allocations: 12.36 MB / 1.307 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001801/0.389, allocations: 47.75 kB / 1.307 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.004571/0.3936, allocations: 1.543 MB / 1.308 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.004919/0.3985, allocations: 1.79 MB / 1.31 GB, free: 11.58 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004062/0.4026, allocations: 1.517 MB / 1.312 GB, free: 10.07 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01184/0.4144, allocations: 7.865 MB / 1.319 GB, free: 2.184 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003021/0.4174, allocations: 1.828 MB / 1.321 GB, free: 328 kB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004682/0.4221, allocations: 1.954 MB / 1.323 GB, free: 14.36 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002838/0.425, allocations: 1.506 MB / 1.324 GB, free: 12.85 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0004725/0.4254, allocations: 152 kB / 1.325 GB, free: 12.7 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003446/0.4289, allocations: 1.381 MB / 1.326 GB, free: 11.32 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0008398/0.4297, allocations: 0.6226 MB / 1.327 GB, free: 10.7 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001922/0.4316, allocations: 1.197 MB / 1.328 GB, free: 9.492 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.006011/0.4377, allocations: 3.561 MB / 1.331 GB, free: 5.918 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.4377, allocations: 0 / 1.331 GB, free: 5.918 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4377, allocations: 0 / 1.331 GB, free: 5.918 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.948e-05/0.4377, allocations: 0 / 1.331 GB, free: 5.918 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.005219/0.4429, allocations: 2.898 MB / 1.334 GB, free: 2.938 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.443, allocations: 12.03 kB / 1.334 GB, free: 2.926 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002014/0.445, allocations: 446.1 kB / 1.334 GB, free: 2.488 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005433/0.4504, allocations: 2.769 MB / 1.337 GB, free: 15.64 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.502e-05/0.4505, allocations: 82 kB / 1.337 GB, free: 15.57 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002102/0.4507, allocations: 108 kB / 1.337 GB, free: 15.46 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002496/0.4532, allocations: 1.33 MB / 1.339 GB, free: 14.05 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.946e-05/0.4533, allocations: 0 / 1.339 GB, free: 14.05 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001187/0.4534, allocations: 48 kB / 1.339 GB, free: 14 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.813e-05/0.4534, allocations: 24 kB / 1.339 GB, free: 13.98 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002229/0.4556, allocations: 1.022 MB / 1.34 GB, free: 12.96 MB / 1.061 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.009512/0.4651, allocations: 6.918 MB / 1.346 GB, free: 5.609 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00146/0.4666, allocations: 0.5583 MB / 1.347 GB, free: 5.043 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007759/0.4674, allocations: 365.8 kB / 1.347 GB, free: 4.684 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003078/0.4705, allocations: 1.708 MB / 1.349 GB, free: 2.855 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008266/0.4713, allocations: 366.9 kB / 1.349 GB, free: 2.484 MB / 1.061 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006462/0.4719, allocations: 115.4 kB / 1.349 GB, free: 2.371 MB / 1.061 GB Notification: Performance of pre-optimization done (n=44): time 2.786e-06/0.4719, allocations: 0 / 1.349 GB, free: 2.371 MB / 1.061 GB Notification: Performance of matching and sorting (n=44): time 0.003832/0.4758, allocations: 1.369 MB / 1.351 GB, free: 0.9727 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.4758, allocations: 59.41 kB / 1.351 GB, free: 0.9023 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003388/0.4792, allocations: 2.38 MB / 1.353 GB, free: 14.5 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001124/0.4793, allocations: 41.7 kB / 1.353 GB, free: 14.46 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009892/0.4803, allocations: 1.001 MB / 1.354 GB, free: 13.45 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001857/0.4805, allocations: 166.7 kB / 1.354 GB, free: 13.28 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004238/0.4809, allocations: 302.7 kB / 1.355 GB, free: 12.98 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001872/0.4811, allocations: 357.9 kB / 1.355 GB, free: 12.62 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009929/0.4821, allocations: 0.5018 MB / 1.355 GB, free: 12.12 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00138/0.4835, allocations: 0.9814 MB / 1.356 GB, free: 10.92 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002193/0.4857, allocations: 1.351 MB / 1.358 GB, free: 9.422 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/0.4857, allocations: 4 kB / 1.358 GB, free: 9.418 MB / 1.076 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.003741/0.4894, allocations: 1.793 MB / 1.359 GB, free: 7.605 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.302e-05/0.4895, allocations: 45.58 kB / 1.36 GB, free: 7.555 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.149e-05/0.4895, allocations: 12 kB / 1.36 GB, free: 7.543 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000697/0.4902, allocations: 193.2 kB / 1.36 GB, free: 7.352 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008448/0.491, allocations: 223.6 kB / 1.36 GB, free: 7.133 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000771/0.4918, allocations: 0.7708 MB / 1.361 GB, free: 6.336 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001441/0.4932, allocations: 75.89 kB / 1.361 GB, free: 6.262 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/0.4933, allocations: 55.98 kB / 1.361 GB, free: 6.207 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001748/0.4951, allocations: 1.018 MB / 1.362 GB, free: 5.184 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001302/0.4964, allocations: 0.9736 MB / 1.363 GB, free: 3.992 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001989/0.4984, allocations: 1.307 MB / 1.364 GB, free: 2.523 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.756e-06/0.4984, allocations: 4 kB / 1.364 GB, free: 2.52 MB / 1.076 GB Notification: Performance of matching and sorting (n=164) (initialization_lambda0): time 0.003396/0.5018, allocations: 1.795 MB / 1.366 GB, free: 0.6953 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.592e-05/0.5018, allocations: 37.7 kB / 1.366 GB, free: 0.6523 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.5019, allocations: 12 kB / 1.366 GB, free: 0.6406 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002594/0.5021, allocations: 124.9 kB / 1.366 GB, free: 0.5195 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007868/0.5029, allocations: 223.6 kB / 1.366 GB, free: 308 kB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002524/0.5054, allocations: 2.33 MB / 1.368 GB, free: 13.83 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/0.5069, allocations: 87.98 kB / 1.369 GB, free: 13.75 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/0.507, allocations: 51.98 kB / 1.369 GB, free: 13.7 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 114 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003781/0.5074, allocations: 251.9 kB / 1.369 GB, free: 13.44 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003486/0.5077, allocations: 222.5 kB / 1.369 GB, free: 13.22 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002488/0.5102, allocations: 1.021 MB / 1.37 GB, free: 12.18 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001799/0.512, allocations: 0.9622 MB / 1.371 GB, free: 11.15 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.512, allocations: 4 kB / 1.371 GB, free: 11.15 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007343/0.5128, allocations: 363.5 kB / 1.371 GB, free: 10.77 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002487/0.513, allocations: 15.98 kB / 1.371 GB, free: 10.76 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007624/0.5138, allocations: 47.84 kB / 1.371 GB, free: 10.71 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/0.5139, allocations: 52.36 kB / 1.371 GB, free: 10.66 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002217/0.5161, allocations: 0.8828 MB / 1.372 GB, free: 9.762 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002539/0.5187, allocations: 1.324 MB / 1.374 GB, free: 8.422 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000657/0.5193, allocations: 291.2 kB / 1.374 GB, free: 8.141 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.00257/0.5219, allocations: 1.627 MB / 1.375 GB, free: 6.504 MB / 1.092 GB Notification: Performance of Backend: time 3.4e-07/0.5219, allocations: 0 / 1.375 GB, free: 6.504 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.005675/0.5276, allocations: 2.189 MB / 1.378 GB, free: 4.277 MB / 1.092 GB Notification: Performance of SimCode: time 0.009411/0.537, allocations: 4.878 MB / 1.382 GB, free: 15.36 MB / 1.107 GB Notification: Performance of Templates: time 0.07789/0.6149, allocations: 44.03 MB / 1.425 GB, free: 3.832 MB / 1.139 GB make -j1 -f Buildings_11_Buildings.Fluid.Examples.Performance.Example3.makefile (rm -f Buildings_11_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.Performance.Example3.sim & ./Buildings_11_Buildings.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Examples.Performance.Example3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Examples_Performance_Example3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Examples.Performance.Example3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches