Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DXCooling.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.DXSystems.Cooling.BaseClasses.Examples.DXCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TEvaIn.y|dxCoo.Q_flow|dxCoo.mWat_flow|dxCoo.SHR",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DXCooling") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DXCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TEvaIn.y|dxCoo.Q_flow|dxCoo.mWat_flow|dxCoo.SHR",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DXCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 112.2 kB / 16.42 MB, free: 6.426 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.001519/0.001519, allocations: 187.9 kB / 17.35 MB, free: 5.688 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.505/1.505, allocations: 222.9 MB / 241 MB, free: 15.15 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.431/2.431, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 60.12 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9611/0.9625, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DXCooling): time 0.007712/0.9702, allocations: 6.049 MB / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1714/1.142, allocations: 158 MB / 1.328 GB, free: 15.13 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001097/1.143, allocations: 11.94 kB / 1.328 GB, free: 15.12 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001998/1.145, allocations: 0.7 MB / 1.328 GB, free: 14.42 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00242/1.147, allocations: 0.7845 MB / 1.329 GB, free: 13.63 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004363/1.152, allocations: 1.87 MB / 1.331 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.005023/1.157, allocations: 5.149 MB / 1.336 GB, free: 6.617 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001173/1.158, allocations: 0.8356 MB / 1.337 GB, free: 5.75 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003113/1.161, allocations: 1.847 MB / 1.339 GB, free: 3.91 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002631/1.164, allocations: 1.896 MB / 1.34 GB, free: 2.008 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001076/1.165, allocations: 0.5078 MB / 1.341 GB, free: 1.5 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004567/1.169, allocations: 2.118 MB / 1.343 GB, free: 15.38 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.002304/1.172, allocations: 1.762 MB / 1.345 GB, free: 13.61 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.004535/1.176, allocations: 2.59 MB / 1.347 GB, free: 11.01 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01425/1.191, allocations: 10.9 MB / 1.358 GB, free: 76 kB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/1.191, allocations: 0 / 1.358 GB, free: 76 kB / 1.076 GB Notification: Performance of FrontEnd: time 2.184e-06/1.191, allocations: 0 / 1.358 GB, free: 76 kB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0002051/1.191, allocations: 0 / 1.358 GB, free: 76 kB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.01351/1.204, allocations: 5.691 MB / 1.363 GB, free: 10.29 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/1.204, allocations: 8.922 kB / 1.363 GB, free: 10.28 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03137/1.236, allocations: 3.289 MB / 1.367 GB, free: 6.98 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01464/1.25, allocations: 5.12 MB / 1.372 GB, free: 1.797 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006208/1.251, allocations: 326.6 kB / 1.372 GB, free: 1.449 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004811/1.252, allocations: 92 kB / 1.372 GB, free: 1.359 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01421/1.266, allocations: 5.447 MB / 1.377 GB, free: 11.89 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.355e-05/1.266, allocations: 3.984 kB / 1.377 GB, free: 11.89 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000301/1.266, allocations: 36 kB / 1.377 GB, free: 11.85 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.891e-05/1.266, allocations: 20 kB / 1.377 GB, free: 11.83 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02298/1.289, allocations: 7.76 MB / 1.385 GB, free: 4.07 MB / 1.107 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.03359/1.323, allocations: 15.37 MB / 1.4 GB, free: 4.609 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02722/1.35, allocations: 7.768 MB / 1.408 GB, free: 12.83 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01056/1.361, allocations: 3.564 MB / 1.411 GB, free: 9.258 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001101/1.362, allocations: 1.018 MB / 1.412 GB, free: 8.02 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01249/1.374, allocations: 4.878 MB / 1.417 GB, free: 3.117 MB / 1.139 GB Notification: Performance of pre-optimization done (n=137): time 4.469e-06/1.374, allocations: 0 / 1.417 GB, free: 3.117 MB / 1.139 GB Notification: Performance of matching and sorting (n=137): time 0.05618/1.431, allocations: 12.57 MB / 1.429 GB, free: 6.484 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/1.431, allocations: 114.3 kB / 1.429 GB, free: 6.352 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01277/1.444, allocations: 8.057 MB / 1.437 GB, free: 14.3 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0008544/1.444, allocations: 89.67 kB / 1.437 GB, free: 14.2 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.002072/1.447, allocations: 1.743 MB / 1.439 GB, free: 12.45 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006793/1.447, allocations: 440.3 kB / 1.439 GB, free: 12.02 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009558/1.448, allocations: 418.5 kB / 1.44 GB, free: 11.61 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 8.824e-05/1.448, allocations: 301.1 kB / 1.44 GB, free: 11.31 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01158/1.46, allocations: 4.38 MB / 1.444 GB, free: 6.922 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01185/1.472, allocations: 4.416 MB / 1.449 GB, free: 2.496 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02025/1.492, allocations: 6.65 MB / 1.455 GB, free: 11.8 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/1.492, allocations: 0 / 1.455 GB, free: 11.8 MB / 1.186 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.0433/1.535, allocations: 10.4 MB / 1.465 GB, free: 1.352 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001916/1.536, allocations: 129 kB / 1.465 GB, free: 1.207 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/1.536, allocations: 8 kB / 1.465 GB, free: 1.199 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005447/1.541, allocations: 1.172 MB / 1.466 GB, free: 8 kB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005656/1.547, allocations: 0.6825 MB / 1.467 GB, free: 15.32 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0128/1.56, allocations: 11.02 MB / 1.478 GB, free: 3.574 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007764/1.567, allocations: 0.5805 MB / 1.478 GB, free: 2.992 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007504/1.568, allocations: 123.8 kB / 1.479 GB, free: 2.871 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01546/1.584, allocations: 6.133 MB / 1.485 GB, free: 12.73 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01169/1.595, allocations: 4.404 MB / 1.489 GB, free: 8.312 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02074/1.616, allocations: 6.615 MB / 1.495 GB, free: 1.66 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.472e-06/1.616, allocations: 0 / 1.495 GB, free: 1.66 MB / 1.217 GB Notification: Performance of matching and sorting (n=181) (initialization_lambda0): time 0.0424/1.659, allocations: 10.21 MB / 1.505 GB, free: 7.398 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001824/1.659, allocations: 137 kB / 1.505 GB, free: 7.246 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/1.659, allocations: 0 / 1.505 GB, free: 7.246 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003841/1.663, allocations: 0.9767 MB / 1.506 GB, free: 6.25 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005762/1.668, allocations: 0.6941 MB / 1.507 GB, free: 5.555 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009034/1.677, allocations: 9.44 MB / 1.516 GB, free: 11.38 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007409/1.685, allocations: 0.5534 MB / 1.517 GB, free: 10.83 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005763/1.685, allocations: 131.8 kB / 1.517 GB, free: 10.7 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 58 (speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,dxCoo.dryCoi.coiCap.checkBoundsTCon[4],$PRE.dxCoo.dryCoi.coiCap.checkBoundsTCon[4],dxCoo.dryCoi.coiCap.checkBoundsTCon[3],$PRE.dxCoo.dryCoi.coiCap.checkBoundsTCon[3],dxCoo.dryCoi.coiCap.checkBoundsTCon[2],$PRE.dxCoo.dryCoi.coiCap.checkBoundsTCon[2],dxCoo.dryCoi.coiCap.checkBoundsTCon[1],$PRE.dxCoo.dryCoi.coiCap.checkBoundsTCon[1],dxCoo.dryCoi.coiCap.checkBoundsTEva[4],$PRE.dxCoo.dryCoi.coiCap.checkBoundsTEva[4],dxCoo.dryCoi.coiCap.checkBoundsTEva[3],$PRE.dxCoo.dryCoi.coiCap.checkBoundsTEva[3],dxCoo.dryCoi.coiCap.checkBoundsTEva[2],$PRE.dxCoo.dryCoi.coiCap.checkBoundsTEva[2],dxCoo.dryCoi.coiCap.checkBoundsTEva[1],$PRE.dxCoo.dryCoi.coiCap.checkBoundsTEva[1],dxCoo.dryCoi.coiCap.stage,dxCoo.wetCoi.shr.on,dxCoo.wetCoi.coiCap.checkBoundsTCon[4],$PRE.dxCoo.wetCoi.coiCap.checkBoundsTCon[4],dxCoo.wetCoi.coiCap.checkBoundsTCon[3],$PRE.dxCoo.wetCoi.coiCap.checkBoundsTCon[3],dxCoo.wetCoi.coiCap.checkBoundsTCon[2],$PRE.dxCoo.wetCoi.coiCap.checkBoundsTCon[2],dxCoo.wetCoi.coiCap.checkBoundsTCon[1],$PRE.dxCoo.wetCoi.coiCap.checkBoundsTCon[1],dxCoo.wetCoi.coiCap.checkBoundsTEva[4],$PRE.dxCoo.wetCoi.coiCap.checkBoundsTEva[4],dxCoo.wetCoi.coiCap.checkBoundsTEva[3],$PRE.dxCoo.wetCoi.coiCap.checkBoundsTEva[3],dxCoo.wetCoi.coiCap.checkBoundsTEva[2],$PRE.dxCoo.wetCoi.coiCap.checkBoundsTEva[2],dxCoo.wetCoi.coiCap.checkBoundsTEva[1],$PRE.dxCoo.wetCoi.coiCap.checkBoundsTEva[1],dxCoo.wetCoi.coiCap.stage,$whenCondition17,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (151): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * 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): 6 systems {(1,1), (1,2), (1,2), (1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.00096/1.686, allocations: 329.8 kB / 1.517 GB, free: 10.36 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001161/1.688, allocations: 461 kB / 1.518 GB, free: 9.91 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03848/1.726, allocations: 8.9 MB / 1.526 GB, free: 0.9727 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.061e-05/1.726, allocations: 7.969 kB / 1.526 GB, free: 0.9648 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/1.726, allocations: 0 / 1.526 GB, free: 0.9648 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004505/1.731, allocations: 1.657 MB / 1.528 GB, free: 15.29 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001856/1.733, allocations: 135.9 kB / 1.528 GB, free: 15.15 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00695/1.74, allocations: 0.5305 MB / 1.529 GB, free: 14.62 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004323/1.74, allocations: 133.1 kB / 1.529 GB, free: 14.49 MB / 1.264 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0283/1.768, allocations: 7.737 MB / 1.536 GB, free: 6.719 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03524/1.804, allocations: 12.4 MB / 1.548 GB, free: 10.29 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0107/1.814, allocations: 3.648 MB / 1.552 GB, free: 6.637 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.01036/1.825, allocations: 5.741 MB / 1.558 GB, free: 0.9062 MB / 1.279 GB Notification: Performance of Backend: time 8.11e-07/1.825, allocations: 0 / 1.558 GB, free: 0.9062 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.6452/2.47, allocations: 12.24 MB / 1.57 GB, free: 375.8 MB / 1.279 GB Notification: Performance of SimCode: time 0.01308/2.483, allocations: 9.575 MB / 1.579 GB, free: 370.3 MB / 1.279 GB Notification: Performance of Templates: time 0.1559/2.639, allocations: 138.8 MB / 1.714 GB, free: 233.4 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DXCooling.makefile (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DXCooling.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DXCooling.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DXCooling.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DXCooling.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DXCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DXCooling.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DXCooling_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DXCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DXCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches