Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Example1v1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1") translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 113.5 kB / 16.42 MB, free: 6.484 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.001168/0.001168, allocations: 185.4 kB / 17.35 MB, free: 5.727 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.341/1.341, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.568/2.568, allocations: 469.4 MB / 0.7428 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001425, allocations: 63.91 kB / 1.066 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6956/0.697, allocations: 159.1 MB / 1.221 GB, free: 2.398 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.06806/0.7651, allocations: 72.77 MB / 1.292 GB, free: 9.371 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02494/0.7901, allocations: 18.82 MB / 1.31 GB, free: 6.512 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002715/0.7928, allocations: 95.44 kB / 1.31 GB, free: 6.418 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.004654/0.7975, allocations: 1.814 MB / 1.312 GB, free: 4.602 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.006573/0.8041, allocations: 2.591 MB / 1.315 GB, free: 2 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004972/0.8091, allocations: 2.161 MB / 1.317 GB, free: 15.85 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01324/0.8223, allocations: 10.97 MB / 1.328 GB, free: 4.852 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007479/0.8298, allocations: 6.168 MB / 1.334 GB, free: 14.61 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006321/0.8362, allocations: 3.351 MB / 1.337 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004162/0.8403, allocations: 2.568 MB / 1.339 GB, free: 8.676 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0009972/0.8414, allocations: 264 kB / 1.34 GB, free: 8.418 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004176/0.8455, allocations: 1.556 MB / 1.341 GB, free: 6.859 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001342/0.8469, allocations: 0.9029 MB / 1.342 GB, free: 5.953 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.003507/0.8504, allocations: 1.967 MB / 1.344 GB, free: 3.977 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.007742/0.8582, allocations: 5.347 MB / 1.349 GB, free: 14.61 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.8582, allocations: 0 / 1.349 GB, free: 14.61 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8582, allocations: 3.938 kB / 1.349 GB, free: 14.61 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.000171/0.8584, allocations: 0 / 1.349 GB, free: 14.61 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 402 * Number of variables: 402 Notification: Performance of Generate backend data structure: time 0.009002/0.8674, allocations: 4.377 MB / 1.353 GB, free: 10.14 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.8674, allocations: 8.625 kB / 1.353 GB, free: 10.14 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002967/0.8704, allocations: 0.6667 MB / 1.354 GB, free: 9.465 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006572/0.877, allocations: 3.812 MB / 1.358 GB, free: 5.594 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.813e-05/0.8771, allocations: 139.2 kB / 1.358 GB, free: 5.457 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002781/0.8774, allocations: 188 kB / 1.358 GB, free: 5.273 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00377/0.8812, allocations: 2.356 MB / 1.36 GB, free: 2.758 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.769e-05/0.8812, allocations: 11.92 kB / 1.36 GB, free: 2.746 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001731/0.8814, allocations: 67.94 kB / 1.361 GB, free: 2.68 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.419e-05/0.8814, allocations: 44 kB / 1.361 GB, free: 2.637 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0036/0.885, allocations: 1.908 MB / 1.362 GB, free: 0.7227 MB / 1.076 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.01363/0.8987, allocations: 11.49 MB / 1.374 GB, free: 4.73 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002729/0.9014, allocations: 1.344 MB / 1.375 GB, free: 3.379 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001624/0.9031, allocations: 1.025 MB / 1.376 GB, free: 2.352 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005815/0.9089, allocations: 3.726 MB / 1.38 GB, free: 14.36 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001462/0.9104, allocations: 0.7662 MB / 1.38 GB, free: 13.58 MB / 1.107 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000827/0.9112, allocations: 246.8 kB / 1.381 GB, free: 13.34 MB / 1.107 GB Notification: Performance of pre-optimization done (n=94): time 2.805e-06/0.9112, allocations: 0 / 1.381 GB, free: 13.34 MB / 1.107 GB Notification: Performance of matching and sorting (n=94): time 0.01158/0.9228, allocations: 4.245 MB / 1.385 GB, free: 9.035 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.9229, allocations: 60.41 kB / 1.385 GB, free: 8.965 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003977/0.9268, allocations: 3.467 MB / 1.388 GB, free: 5.473 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001154/0.927, allocations: 61.7 kB / 1.388 GB, free: 5.406 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001206/0.9282, allocations: 1.568 MB / 1.39 GB, free: 3.824 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002569/0.9284, allocations: 335.3 kB / 1.39 GB, free: 3.492 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005844/0.929, allocations: 467.3 kB / 1.391 GB, free: 3.027 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 7.519e-05/0.9291, allocations: 301.1 kB / 1.391 GB, free: 2.73 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001518/0.9306, allocations: 0.8644 MB / 1.392 GB, free: 1.863 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002045/0.9327, allocations: 1.674 MB / 1.393 GB, free: 15.82 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003299/0.936, allocations: 2.263 MB / 1.395 GB, free: 13.34 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/0.936, allocations: 4 kB / 1.395 GB, free: 13.33 MB / 1.123 GB Notification: Performance of matching and sorting (n=249) (initialization): time 0.006311/0.9423, allocations: 3.346 MB / 1.399 GB, free: 9.969 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 4.054e-05/0.9424, allocations: 37.92 kB / 1.399 GB, free: 9.926 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.141e-05/0.9424, allocations: 20 kB / 1.399 GB, free: 9.906 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002382/0.9448, allocations: 0.688 MB / 1.399 GB, free: 9.211 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001355/0.9462, allocations: 345.3 kB / 1.4 GB, free: 8.875 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001733/0.9479, allocations: 1.909 MB / 1.402 GB, free: 6.914 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00206/0.95, allocations: 124.5 kB / 1.402 GB, free: 6.793 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001563/0.9502, allocations: 95.95 kB / 1.402 GB, free: 6.699 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002552/0.9527, allocations: 1.589 MB / 1.403 GB, free: 5.105 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00189/0.9546, allocations: 1.637 MB / 1.405 GB, free: 3.102 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003044/0.9577, allocations: 2.199 MB / 1.407 GB, free: 0.668 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.167e-06/0.9577, allocations: 8 kB / 1.407 GB, free: 0.6602 MB / 1.123 GB Notification: Performance of matching and sorting (n=249) (initialization_lambda0): time 0.005401/0.9631, allocations: 3.232 MB / 1.41 GB, free: 13.38 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 4.283e-05/0.9632, allocations: 37.7 kB / 1.41 GB, free: 13.34 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.977e-05/0.9632, allocations: 16 kB / 1.41 GB, free: 13.32 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009195/0.9641, allocations: 482 kB / 1.411 GB, free: 12.85 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001407/0.9655, allocations: 345.3 kB / 1.411 GB, free: 12.51 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007778/0.9733, allocations: 6.338 MB / 1.417 GB, free: 5.883 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003104/0.9764, allocations: 140.8 kB / 1.418 GB, free: 5.746 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001983/0.9767, allocations: 99.88 kB / 1.418 GB, free: 5.648 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * 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 (169): * Single equations (assignments): 164 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,40), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0006806/0.9773, allocations: 296.2 kB / 1.418 GB, free: 5.352 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005119/0.9779, allocations: 327.8 kB / 1.418 GB, free: 5.027 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005042/0.9829, allocations: 2.458 MB / 1.421 GB, free: 2.547 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003483/0.9864, allocations: 2.07 MB / 1.423 GB, free: 412 kB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.9864, allocations: 4 kB / 1.423 GB, free: 408 kB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001055/0.9875, allocations: 0.5356 MB / 1.423 GB, free: 15.84 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003407/0.9878, allocations: 20 kB / 1.423 GB, free: 15.82 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/0.989, allocations: 79.84 kB / 1.423 GB, free: 15.74 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002213/0.9893, allocations: 132.6 kB / 1.423 GB, free: 15.61 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004544/0.9938, allocations: 2.052 MB / 1.425 GB, free: 13.54 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00439/0.9982, allocations: 2.636 MB / 1.428 GB, free: 10.89 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001247/0.9995, allocations: 0.6911 MB / 1.429 GB, free: 10.2 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.003149/1.003, allocations: 2.355 MB / 1.431 GB, free: 7.836 MB / 1.154 GB Notification: Performance of Backend: time 3.01e-07/1.003, allocations: 0 / 1.431 GB, free: 7.836 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.007567/1.01, allocations: 3.756 MB / 1.435 GB, free: 4.039 MB / 1.154 GB Notification: Performance of SimCode: time 0.01173/1.022, allocations: 7.521 MB / 1.442 GB, free: 12.47 MB / 1.17 GB Notification: Performance of Templates: time 0.101/1.123, allocations: 65.17 MB / 1.506 GB, free: 12.04 MB / 1.232 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example1v1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches