Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Examples.Performance.Example1v2.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Example1v2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.Example1v2") translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.Example1v2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 119.5 kB / 16.42 MB, free: 6.496 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.00119/0.001191, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.343/1.343, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.456/2.456, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002271/0.002271, allocations: 71.88 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7821/0.7844, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v2): time 0.08246/0.8669, allocations: 81.09 MB / 1.247 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0389/0.9059, allocations: 21.09 MB / 1.267 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005952/0.9118, allocations: 111.4 kB / 1.267 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00911/0.921, allocations: 1.954 MB / 1.269 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01531/0.9363, allocations: 3.015 MB / 1.272 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01125/0.9476, allocations: 2.492 MB / 1.274 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.05425/1.002, allocations: 29.84 MB / 1.304 GB, free: 7.855 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03642/1.038, allocations: 17.04 MB / 1.32 GB, free: 6.695 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03291/1.071, allocations: 11.42 MB / 1.331 GB, free: 11.31 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03165/1.103, allocations: 11.74 MB / 1.343 GB, free: 15.53 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.007205/1.11, allocations: 1.293 MB / 1.344 GB, free: 14.24 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01285/1.123, allocations: 2.752 MB / 1.347 GB, free: 11.48 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.008726/1.132, allocations: 3.775 MB / 1.351 GB, free: 7.699 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.01496/1.147, allocations: 6.676 MB / 1.357 GB, free: 0.9961 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.02855/1.175, allocations: 19.09 MB / 1.376 GB, free: 13.85 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/1.175, allocations: 0 / 1.376 GB, free: 13.85 MB / 1.107 GB Notification: Performance of FrontEnd: time 4.228e-06/1.176, allocations: 3.984 kB / 1.376 GB, free: 13.85 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0005839/1.176, allocations: 0 / 1.376 GB, free: 13.85 MB / 1.107 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.03991/1.216, allocations: 12.63 MB / 1.388 GB, free: 1.102 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/1.216, allocations: 12.88 kB / 1.388 GB, free: 1.09 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01046/1.227, allocations: 1.393 MB / 1.389 GB, free: 15.68 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02843/1.255, allocations: 11.21 MB / 1.4 GB, free: 4.383 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004985/1.256, allocations: 439.1 kB / 1.401 GB, free: 3.953 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003585/1.259, allocations: 0.5857 MB / 1.401 GB, free: 3.367 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0336/1.293, allocations: 14.64 MB / 1.416 GB, free: 4.461 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003536/1.293, allocations: 23.78 kB / 1.416 GB, free: 4.438 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003221/1.296, allocations: 240 kB / 1.416 GB, free: 4.203 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001263/1.297, allocations: 144 kB / 1.416 GB, free: 4.062 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03512/1.332, allocations: 19.8 MB / 1.435 GB, free: 248 kB / 1.154 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.1142/1.446, allocations: 60.46 MB / 1.494 GB, free: 2.258 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0144/1.46, allocations: 9.197 MB / 1.503 GB, free: 9.059 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01303/1.473, allocations: 8.597 MB / 1.512 GB, free: 464 kB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05353/1.527, allocations: 27.51 MB / 1.539 GB, free: 4.566 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01233/1.539, allocations: 7.639 MB / 1.546 GB, free: 12.88 MB / 1.279 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01631/1.556, allocations: 4.499 MB / 1.55 GB, free: 8.375 MB / 1.279 GB Notification: Performance of pre-optimization done (n=298): time 2.067e-05/1.556, allocations: 0 / 1.55 GB, free: 8.375 MB / 1.279 GB Notification: Performance of matching and sorting (n=298): time 0.6194/2.175, allocations: 23.81 MB / 1.574 GB, free: 361.2 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.079e-05/2.175, allocations: 86.16 kB / 1.574 GB, free: 361.1 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009725/2.185, allocations: 8.844 MB / 1.582 GB, free: 358.5 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.00166/2.187, allocations: 96.58 kB / 1.583 GB, free: 358.4 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.002808/2.19, allocations: 4.205 MB / 1.587 GB, free: 356 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.002397/2.192, allocations: 1.077 MB / 1.588 GB, free: 355.2 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002851/2.195, allocations: 1.767 MB / 1.589 GB, free: 354.3 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 3.862e-05/2.195, allocations: 309 kB / 1.59 GB, free: 354 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007297/2.202, allocations: 6.738 MB / 1.596 GB, free: 349.9 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008244/2.21, allocations: 8.569 MB / 1.605 GB, free: 340.5 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0177/2.228, allocations: 15.6 MB / 1.62 GB, free: 324.3 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.043e-05/2.228, allocations: 16 kB / 1.62 GB, free: 324.3 MB / 1.279 GB Notification: Performance of matching and sorting (n=644) (initialization): time 0.03028/2.258, allocations: 18.07 MB / 1.638 GB, free: 306.3 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 7.213e-05/2.259, allocations: 62.42 kB / 1.638 GB, free: 306.2 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.659e-05/2.259, allocations: 48 kB / 1.638 GB, free: 306.2 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06978/2.328, allocations: 11.59 MB / 1.649 GB, free: 294.7 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008296/2.337, allocations: 1.608 MB / 1.651 GB, free: 293.1 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005054/2.342, allocations: 3.763 MB / 1.654 GB, free: 289.2 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009919/2.352, allocations: 367.5 kB / 1.655 GB, free: 288.9 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0021/2.354, allocations: 0.5538 MB / 1.655 GB, free: 288.3 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01345/2.367, allocations: 9.135 MB / 1.664 GB, free: 279.2 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009641/2.377, allocations: 8.537 MB / 1.672 GB, free: 269.8 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01884/2.396, allocations: 15.53 MB / 1.688 GB, free: 253.5 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.591e-05/2.396, allocations: 16 kB / 1.688 GB, free: 253.5 MB / 1.279 GB Notification: Performance of matching and sorting (n=644) (initialization_lambda0): time 0.03125/2.427, allocations: 17.93 MB / 1.705 GB, free: 235.5 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 6.321e-05/2.427, allocations: 57.83 kB / 1.705 GB, free: 235.4 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.263e-05/2.427, allocations: 52 kB / 1.705 GB, free: 235.4 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06689/2.494, allocations: 11.15 MB / 1.716 GB, free: 224.3 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008748/2.503, allocations: 1.61 MB / 1.718 GB, free: 222.7 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009213/2.512, allocations: 8.164 MB / 1.726 GB, free: 214.2 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01004/2.522, allocations: 372.9 kB / 1.726 GB, free: 213.8 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002396/2.525, allocations: 0.5421 MB / 1.727 GB, free: 213.3 MB / 1.279 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.003631/2.528, allocations: 0.4958 MB / 1.727 GB, free: 212.8 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003623/2.532, allocations: 0.7986 MB / 1.728 GB, free: 212 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02417/2.556, allocations: 14.1 MB / 1.742 GB, free: 197.9 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01391/2.57, allocations: 10.68 MB / 1.752 GB, free: 187.1 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.234e-05/2.57, allocations: 7.984 kB / 1.752 GB, free: 187.1 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005035/2.575, allocations: 1.873 MB / 1.754 GB, free: 185.2 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002444/2.578, allocations: 67.98 kB / 1.754 GB, free: 185.1 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006622/2.584, allocations: 211.6 kB / 1.754 GB, free: 184.9 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001042/2.585, allocations: 258.4 kB / 1.754 GB, free: 184.6 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01995/2.605, allocations: 11.6 MB / 1.766 GB, free: 173.1 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02232/2.628, allocations: 19.16 MB / 1.784 GB, free: 153.8 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005845/2.634, allocations: 5.96 MB / 1.79 GB, free: 147.9 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.009257/2.643, allocations: 6.079 MB / 1.796 GB, free: 141.8 MB / 1.279 GB Notification: Performance of Backend: time 5.01e-07/2.643, allocations: 0 / 1.796 GB, free: 141.8 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.03462/2.678, allocations: 19.82 MB / 1.815 GB, free: 122.1 MB / 1.279 GB Notification: Performance of SimCode: time 0.04271/2.72, allocations: 21.71 MB / 1.837 GB, free: 100.5 MB / 1.279 GB Notification: Performance of Templates: time 0.8697/3.59, allocations: 280.2 MB / 2.11 GB, free: 0.5145 GB / 1.451 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.Example1v2.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.Example1v2.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.Example1v2.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.Example1v2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.Example1v2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.Example1v2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_Example1v2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example1v2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches