Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DXCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 95.92 kB / 19.7 MB, free: 2.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0016/0.0016, allocations: 206.8 kB / 23 MB, free: 4.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.552/1.552, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.526/3.526, allocations: 0.49 GB / 0.7959 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DXCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TEvaIn.y|dxCoo.Q_flow|dxCoo.mWat_flow|dxCoo.SHR",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DXCooling") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DXCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TEvaIn.y|dxCoo.Q_flow|dxCoo.mWat_flow|dxCoo.SHR",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DXCooling") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 69.33 kB / 1.155 GB, free: 25.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4513/0.4534, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DXCooling): time 0.008645/0.462, allocations: 5.387 MB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.216/0.678, allocations: 139.2 MB / 1.468 GB, free: 15.84 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001461/0.6795, allocations: 11.94 kB / 1.468 GB, free: 15.82 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002262/0.6817, allocations: 0.6564 MB / 1.469 GB, free: 15.16 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002955/0.6847, allocations: 0.7846 MB / 1.47 GB, free: 14.38 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.005449/0.6902, allocations: 1.895 MB / 1.472 GB, free: 12.49 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.006702/0.6969, allocations: 5.141 MB / 1.477 GB, free: 7.344 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001003/0.6979, allocations: 400.3 kB / 1.477 GB, free: 6.922 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004559/0.7024, allocations: 1.875 MB / 1.479 GB, free: 5.051 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003493/0.7059, allocations: 1.935 MB / 1.481 GB, free: 3.109 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.001304/0.7072, allocations: 0.5117 MB / 1.481 GB, free: 2.598 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005299/0.7125, allocations: 2.036 MB / 1.483 GB, free: 0.5586 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.002337/0.7148, allocations: 1.793 MB / 1.485 GB, free: 14.76 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.005065/0.7199, allocations: 1.952 MB / 1.487 GB, free: 12.8 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.01685/0.7368, allocations: 10.94 MB / 1.498 GB, free: 1.824 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 1.294e-05/0.7368, allocations: 0 / 1.498 GB, free: 1.824 MB / 1.186 GB Notification: Performance of FrontEnd: time 4.248e-06/0.7368, allocations: 0 / 1.498 GB, free: 1.824 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0003236/0.7371, allocations: 0 / 1.498 GB, free: 1.824 MB / 1.186 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.02291/0.76, allocations: 5.648 MB / 1.503 GB, free: 12.1 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 6.121e-05/0.7601, allocations: 8.031 kB / 1.503 GB, free: 12.09 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03399/0.7941, allocations: 3.336 MB / 1.506 GB, free: 8.746 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01494/0.809, allocations: 5.095 MB / 1.511 GB, free: 3.602 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008271/0.8098, allocations: 467.1 kB / 1.512 GB, free: 3.086 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000658/0.8105, allocations: 92 kB / 1.512 GB, free: 2.996 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01586/0.8263, allocations: 5.48 MB / 1.517 GB, free: 13.48 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.659e-05/0.8264, allocations: 0 / 1.517 GB, free: 13.48 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004496/0.8268, allocations: 40 kB / 1.517 GB, free: 13.45 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.499e-05/0.8268, allocations: 20 kB / 1.517 GB, free: 13.43 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02412/0.851, allocations: 7.777 MB / 1.525 GB, free: 5.637 MB / 1.217 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.0426/0.8936, allocations: 13.56 MB / 1.538 GB, free: 8.02 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02821/0.9218, allocations: 7.681 MB / 1.546 GB, free: 336 kB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01095/0.9327, allocations: 3.515 MB / 1.549 GB, free: 12.8 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000822/0.9335, allocations: 116.9 kB / 1.549 GB, free: 12.68 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01357/0.9471, allocations: 4.912 MB / 1.554 GB, free: 7.746 MB / 1.248 GB Notification: Performance of pre-optimization done (n=137): time 6.512e-06/0.9471, allocations: 0 / 1.554 GB, free: 7.746 MB / 1.248 GB Notification: Performance of matching and sorting (n=137): time 0.06374/1.011, allocations: 12.51 MB / 1.566 GB, free: 11.2 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000198/1.011, allocations: 110.4 kB / 1.566 GB, free: 11.07 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01845/1.03, allocations: 8.02 MB / 1.574 GB, free: 3.051 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.001305/1.031, allocations: 97.67 kB / 1.574 GB, free: 2.949 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.002693/1.034, allocations: 1.755 MB / 1.576 GB, free: 1.188 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.001225/1.035, allocations: 440.3 kB / 1.576 GB, free: 0.7539 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001141/1.036, allocations: 418.6 kB / 1.577 GB, free: 348 kB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001571/1.036, allocations: 301.1 kB / 1.577 GB, free: 44 kB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01227/1.048, allocations: 4.525 MB / 1.581 GB, free: 11.49 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01267/1.061, allocations: 4.554 MB / 1.586 GB, free: 6.906 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02198/1.083, allocations: 6.658 MB / 1.592 GB, free: 212 kB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.601e-05/1.083, allocations: 0 / 1.592 GB, free: 212 kB / 1.279 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.05021/1.133, allocations: 10.59 MB / 1.603 GB, free: 5.547 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002578/1.133, allocations: 134.5 kB / 1.603 GB, free: 5.398 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/1.133, allocations: 0 / 1.603 GB, free: 5.398 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006045/1.139, allocations: 1.172 MB / 1.604 GB, free: 4.207 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006053/1.146, allocations: 0.6942 MB / 1.605 GB, free: 3.512 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077/2.222, allocations: 10.26 MB / 1.615 GB, free: 263.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00964/2.232, allocations: 0.575 MB / 1.615 GB, free: 263.7 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00126/2.233, allocations: 128.3 kB / 1.615 GB, free: 263.7 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01915/2.252, allocations: 6.262 MB / 1.621 GB, free: 262.2 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01653/2.269, allocations: 4.534 MB / 1.626 GB, free: 260.6 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02571/2.295, allocations: 6.634 MB / 1.632 GB, free: 258.4 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.341e-05/2.295, allocations: 0 / 1.632 GB, free: 258.4 MB / 1.295 GB Notification: Performance of matching and sorting (n=181) (initialization_lambda0): time 0.04967/2.344, allocations: 10.4 MB / 1.643 GB, free: 255.2 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002382/2.345, allocations: 135.4 kB / 1.643 GB, free: 255.1 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/2.345, allocations: 0 / 1.643 GB, free: 255.1 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004358/2.349, allocations: 0.9774 MB / 1.644 GB, free: 254.9 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005833/2.355, allocations: 0.7004 MB / 1.644 GB, free: 254.8 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009806/2.365, allocations: 8.709 MB / 1.653 GB, free: 247.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01029/2.375, allocations: 0.5604 MB / 1.653 GB, free: 247.2 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001291/2.376, allocations: 129 kB / 1.653 GB, free: 247.2 MB / 1.295 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.002351/2.379, allocations: 342.9 kB / 1.654 GB, free: 246.9 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003902/2.383, allocations: 449.9 kB / 1.654 GB, free: 246.7 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05495/2.437, allocations: 8.953 MB / 1.663 GB, free: 239.5 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.207e-05/2.438, allocations: 11.97 kB / 1.663 GB, free: 239.5 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/2.438, allocations: 0 / 1.663 GB, free: 239.5 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008078/2.446, allocations: 1.629 MB / 1.665 GB, free: 237.9 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003953/2.45, allocations: 131.9 kB / 1.665 GB, free: 237.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01083/2.46, allocations: 0.5304 MB / 1.665 GB, free: 237.2 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009222/2.461, allocations: 141.1 kB / 1.665 GB, free: 237.1 MB / 1.295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03128/2.493, allocations: 7.741 MB / 1.673 GB, free: 229.3 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0335/2.526, allocations: 12.47 MB / 1.685 GB, free: 216.8 MB / 1.295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.009454/2.536, allocations: 3.58 MB / 1.689 GB, free: 213.2 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.01386/2.549, allocations: 5.725 MB / 1.694 GB, free: 207.5 MB / 1.295 GB Notification: Performance of Backend: time 9.41e-07/2.549, allocations: 0 / 1.694 GB, free: 207.5 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.03493/2.584, allocations: 12.1 MB / 1.706 GB, free: 195.2 MB / 1.295 GB Notification: Performance of SimCode: time 0.02026/2.605, allocations: 9.55 MB / 1.715 GB, free: 185.7 MB / 1.295 GB Notification: Performance of Templates: time 0.1805/2.785, allocations: 151.3 MB / 1.863 GB, free: 34.79 MB / 1.295 GB " [Timeout remaining time 297] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DXCooling.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DXCooling.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DXCooling.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DXCooling.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DXCooling.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DXCooling -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DXCooling.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DXCooling_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DXCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DXCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.89684921799926]