Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquation.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.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dyn.Q_flow|dyn.medium.T|ste.sta_b.T",fileNamePrefix="Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dyn.Q_flow|dyn.medium.T|ste.sta_b.T",fileNamePrefix="Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 113.2 kB / 16.42 MB, free: 6.477 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.001695/0.001695, allocations: 190.7 kB / 17.35 MB, free: 5.707 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.316/1.316, allocations: 222.9 MB / 241.1 MB, free: 15.09 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.39/2.39, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 63.91 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7001/0.7014, allocations: 151.6 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.02213/0.7236, allocations: 20.85 MB / 1.188 GB, free: 14.89 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.007581/0.7312, allocations: 5.383 MB / 1.193 GB, free: 9.488 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007448/0.732, allocations: 23.88 kB / 1.193 GB, free: 9.465 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0009779/0.733, allocations: 349.8 kB / 1.193 GB, free: 9.121 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002382/0.7354, allocations: 0.961 MB / 1.194 GB, free: 8.156 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002315/0.7377, allocations: 0.9451 MB / 1.195 GB, free: 7.219 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002095/0.7399, allocations: 1.748 MB / 1.197 GB, free: 5.465 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007859/0.7406, allocations: 493.2 kB / 1.197 GB, free: 4.973 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001686/0.7423, allocations: 0.7144 MB / 1.198 GB, free: 4.262 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006554/0.743, allocations: 0.494 MB / 1.199 GB, free: 3.766 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.825e-05/0.7431, allocations: 40 kB / 1.199 GB, free: 3.727 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001687/0.7448, allocations: 1.119 MB / 1.2 GB, free: 2.605 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001789/0.745, allocations: 147.4 kB / 1.2 GB, free: 2.461 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003205/0.7453, allocations: 318.3 kB / 1.2 GB, free: 2.148 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001579/0.7469, allocations: 1.227 MB / 1.201 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.7469, allocations: 0 / 1.201 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.202e-06/0.7469, allocations: 0 / 1.201 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.7469, allocations: 4 kB / 1.201 GB, free: 0.918 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.00152/0.7485, allocations: 1.069 MB / 1.202 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.7485, allocations: 8.031 kB / 1.202 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009052/0.7494, allocations: 184.3 kB / 1.203 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.7505, allocations: 0.5914 MB / 1.203 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.519e-05/0.7505, allocations: 29 kB / 1.203 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.339e-05/0.7506, allocations: 36 kB / 1.203 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008989/0.7515, allocations: 0.496 MB / 1.204 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.7515, allocations: 3.984 kB / 1.204 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.427e-05/0.7516, allocations: 19.94 kB / 1.204 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.976e-05/0.7516, allocations: 12 kB / 1.204 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009897/0.7526, allocations: 402.6 kB / 1.204 GB, free: 13.96 MB / 0.9356 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.002711/0.7553, allocations: 2.29 MB / 1.206 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009772/0.7563, allocations: 366.9 kB / 1.207 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004859/0.7568, allocations: 229 kB / 1.207 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002631/0.7571, allocations: 340.7 kB / 1.207 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005959/0.7577, allocations: 305.9 kB / 1.207 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=33): time 1.793e-06/0.7577, allocations: 0 / 1.207 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33): time 0.002158/0.7598, allocations: 0.8512 MB / 1.208 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.7599, allocations: 85.09 kB / 1.208 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005007/0.7604, allocations: 491 kB / 1.209 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.977e-05/0.7605, allocations: 33.7 kB / 1.209 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001935/0.7607, allocations: 292.7 kB / 1.209 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.568e-05/0.7607, allocations: 103.1 kB / 1.209 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.7609, allocations: 81.64 kB / 1.209 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.761, allocations: 362.7 kB / 1.21 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004496/0.7615, allocations: 176.7 kB / 1.21 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004926/0.762, allocations: 266.6 kB / 1.21 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009081/0.7629, allocations: 458.2 kB / 1.211 GB, free: 6.84 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.7629, allocations: 8 kB / 1.211 GB, free: 6.832 MB / 0.9356 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001375/0.7643, allocations: 0.6204 MB / 1.211 GB, free: 6.195 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.63e-05/0.7643, allocations: 41.69 kB / 1.211 GB, free: 6.148 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.7643, allocations: 0 / 1.211 GB, free: 6.148 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003333/0.7647, allocations: 72.69 kB / 1.211 GB, free: 6.074 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003572/0.7651, allocations: 76.09 kB / 1.211 GB, free: 6 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004131/0.7655, allocations: 0.5914 MB / 1.212 GB, free: 5.383 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004467/0.7659, allocations: 63.75 kB / 1.212 GB, free: 5.32 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.171e-05/0.766, allocations: 16 kB / 1.212 GB, free: 5.305 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005565/0.7666, allocations: 311.9 kB / 1.212 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000493/0.7671, allocations: 261.4 kB / 1.213 GB, free: 4.707 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009359/0.768, allocations: 460.8 kB / 1.213 GB, free: 4.223 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.466e-06/0.768, allocations: 4 kB / 1.213 GB, free: 4.219 MB / 0.9356 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001292/0.7693, allocations: 0.5891 MB / 1.214 GB, free: 3.613 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/0.7694, allocations: 41.62 kB / 1.214 GB, free: 3.566 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-06/0.7694, allocations: 4.156 kB / 1.214 GB, free: 3.562 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001422/0.7695, allocations: 44.84 kB / 1.214 GB, free: 3.516 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003601/0.7699, allocations: 79.88 kB / 1.214 GB, free: 3.438 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001417/0.7713, allocations: 1.822 MB / 1.216 GB, free: 1.461 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004281/0.7717, allocations: 47.8 kB / 1.216 GB, free: 1.414 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.578e-05/0.7718, allocations: 19.98 kB / 1.216 GB, free: 1.395 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001628/0.772, allocations: 238 kB / 1.216 GB, free: 1.148 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.7721, allocations: 71.5 kB / 1.216 GB, free: 1.078 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001359/0.7735, allocations: 0.6415 MB / 1.216 GB, free: 432 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001239/0.7747, allocations: 0.794 MB / 1.217 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.7747, allocations: 4 kB / 1.217 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002051/0.7749, allocations: 180.6 kB / 1.217 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.326e-05/0.775, allocations: 11.98 kB / 1.217 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004445/0.7755, allocations: 31.97 kB / 1.217 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.051e-05/0.7755, allocations: 35.89 kB / 1.218 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001542/0.7771, allocations: 0.7366 MB / 1.218 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001692/0.7788, allocations: 0.9799 MB / 1.219 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004766/0.7793, allocations: 236.1 kB / 1.219 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003448/0.7796, allocations: 346.8 kB / 1.22 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of Backend: time 4.71e-07/0.7796, allocations: 0 / 1.22 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002681/0.7823, allocations: 1.174 MB / 1.221 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of SimCode: time 0.002066/0.7844, allocations: 1.636 MB / 1.222 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of Templates: time 0.0216/0.806, allocations: 13.85 MB / 1.236 GB, free: 12.3 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & ./Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Interfaces_Examples_ConservationEquation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches