Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001281/0.001281, allocations: 111.6 kB / 16.42 MB, free: 6.488 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.001249/0.001249, allocations: 185.7 kB / 17.35 MB, free: 5.758 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.464/1.464, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.606/2.606, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 63.91 kB / 1.055 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9106/0.9121, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DXCooling): time 0.008541/0.9207, allocations: 6.051 MB / 1.214 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1786/1.099, allocations: 158 MB / 1.369 GB, free: 8.863 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001734/1.101, allocations: 15.94 kB / 1.369 GB, free: 8.848 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002359/1.104, allocations: 0.6972 MB / 1.369 GB, free: 8.148 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002934/1.106, allocations: 0.7728 MB / 1.37 GB, free: 7.371 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.005109/1.112, allocations: 1.85 MB / 1.372 GB, free: 5.531 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.005915/1.118, allocations: 5.153 MB / 1.377 GB, free: 384 kB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001607/1.119, allocations: 0.8317 MB / 1.378 GB, free: 15.52 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004198/1.123, allocations: 1.831 MB / 1.38 GB, free: 13.69 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0034/1.127, allocations: 1.896 MB / 1.381 GB, free: 11.79 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.001491/1.128, allocations: 0.5117 MB / 1.382 GB, free: 11.28 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005057/1.133, allocations: 2.106 MB / 1.384 GB, free: 9.168 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.002138/1.136, allocations: 1.762 MB / 1.386 GB, free: 7.402 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.004348/1.14, allocations: 2.598 MB / 1.388 GB, free: 4.793 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01383/1.154, allocations: 10.88 MB / 1.399 GB, free: 9.887 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/1.154, allocations: 4 kB / 1.399 GB, free: 9.883 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.974e-06/1.154, allocations: 3.938 kB / 1.399 GB, free: 9.879 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0002332/1.154, allocations: 0 / 1.399 GB, free: 9.879 MB / 1.123 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.01679/1.171, allocations: 5.521 MB / 1.404 GB, free: 4.262 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/1.171, allocations: 16.03 kB / 1.404 GB, free: 4.246 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03227/1.203, allocations: 3.267 MB / 1.407 GB, free: 0.9688 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01273/1.216, allocations: 5.069 MB / 1.412 GB, free: 11.83 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007303/1.217, allocations: 322.5 kB / 1.413 GB, free: 11.48 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007097/1.218, allocations: 96 kB / 1.413 GB, free: 11.39 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01571/1.233, allocations: 5.439 MB / 1.418 GB, free: 5.934 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.48e-05/1.233, allocations: 3.984 kB / 1.418 GB, free: 5.93 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006939/1.234, allocations: 36 kB / 1.418 GB, free: 5.895 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.581e-05/1.234, allocations: 20 kB / 1.418 GB, free: 5.875 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02309/1.257, allocations: 7.764 MB / 1.426 GB, free: 14.11 MB / 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.03977/1.297, allocations: 15.37 MB / 1.441 GB, free: 14.64 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02717/1.324, allocations: 7.773 MB / 1.448 GB, free: 6.863 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01062/1.335, allocations: 3.564 MB / 1.452 GB, free: 3.293 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001124/1.336, allocations: 1.018 MB / 1.453 GB, free: 2.055 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01259/1.349, allocations: 4.876 MB / 1.458 GB, free: 13.16 MB / 1.186 GB Notification: Performance of pre-optimization done (n=137): time 4.779e-06/1.349, allocations: 0 / 1.458 GB, free: 13.16 MB / 1.186 GB Notification: Performance of matching and sorting (n=137): time 0.05744/1.406, allocations: 12.54 MB / 1.47 GB, free: 0.543 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/1.406, allocations: 122.4 kB / 1.47 GB, free: 412 kB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01524/1.422, allocations: 8.05 MB / 1.478 GB, free: 8.352 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.001094/1.423, allocations: 93.67 kB / 1.478 GB, free: 8.254 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.002634/1.425, allocations: 1.731 MB / 1.48 GB, free: 6.516 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.001013/1.426, allocations: 433.9 kB / 1.48 GB, free: 6.09 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001824/1.428, allocations: 414.5 kB / 1.48 GB, free: 5.68 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001012/1.428, allocations: 301.1 kB / 1.481 GB, free: 5.383 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0117/1.44, allocations: 4.383 MB / 1.485 GB, free: 0.9922 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01225/1.452, allocations: 4.42 MB / 1.489 GB, free: 12.56 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02151/1.474, allocations: 6.65 MB / 1.496 GB, free: 5.867 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.547e-06/1.474, allocations: 0 / 1.496 GB, free: 5.867 MB / 1.217 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.05156/1.525, allocations: 10.38 MB / 1.506 GB, free: 11.44 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002207/1.526, allocations: 133 kB / 1.506 GB, free: 11.29 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/1.526, allocations: 3.938 kB / 1.506 GB, free: 11.29 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008414/1.534, allocations: 1.164 MB / 1.507 GB, free: 10.1 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008966/1.543, allocations: 0.6941 MB / 1.508 GB, free: 9.406 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01936/1.563, allocations: 11.01 MB / 1.519 GB, free: 13.66 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007913/1.571, allocations: 0.5685 MB / 1.519 GB, free: 13.09 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009174/1.572, allocations: 127.8 kB / 1.519 GB, free: 12.96 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01493/1.586, allocations: 6.133 MB / 1.525 GB, free: 6.82 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01156/1.598, allocations: 4.397 MB / 1.53 GB, free: 2.414 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01965/1.618, allocations: 6.623 MB / 1.536 GB, free: 11.75 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.688e-06/1.618, allocations: 0 / 1.536 GB, free: 11.75 MB / 1.264 GB Notification: Performance of matching and sorting (n=181) (initialization_lambda0): time 0.04107/1.659, allocations: 10.19 MB / 1.546 GB, free: 1.512 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001745/1.659, allocations: 135.1 kB / 1.546 GB, free: 1.363 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/1.659, allocations: 0 / 1.546 GB, free: 1.363 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003924/1.663, allocations: 0.9805 MB / 1.547 GB, free: 372 kB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005686/1.669, allocations: 0.6942 MB / 1.548 GB, free: 15.67 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009473/1.678, allocations: 9.417 MB / 1.557 GB, free: 5.52 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00704/1.685, allocations: 0.553 MB / 1.558 GB, free: 4.965 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006895/1.686, allocations: 127.8 kB / 1.558 GB, free: 4.84 MB / 1.279 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.001192/1.687, allocations: 337.7 kB / 1.558 GB, free: 4.496 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001927/1.689, allocations: 434.6 kB / 1.558 GB, free: 4.066 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6854/2.375, allocations: 8.904 MB / 1.567 GB, free: 340 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-05/2.375, allocations: 8.375 kB / 1.567 GB, free: 340 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/2.375, allocations: 0 / 1.567 GB, free: 340 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004412/2.379, allocations: 1.628 MB / 1.569 GB, free: 339.3 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002365/2.381, allocations: 133.4 kB / 1.569 GB, free: 339.3 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007626/2.389, allocations: 0.5302 MB / 1.569 GB, free: 339.2 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004963/2.39, allocations: 133.8 kB / 1.569 GB, free: 339.2 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0292/2.419, allocations: 7.734 MB / 1.577 GB, free: 336.9 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03275/2.452, allocations: 12.39 MB / 1.589 GB, free: 331.8 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.009593/2.461, allocations: 3.644 MB / 1.593 GB, free: 328.6 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.01132/2.473, allocations: 5.741 MB / 1.598 GB, free: 322.9 MB / 1.279 GB Notification: Performance of Backend: time 1.603e-06/2.473, allocations: 0 / 1.598 GB, free: 322.9 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.03285/2.505, allocations: 12.23 MB / 1.61 GB, free: 310.6 MB / 1.279 GB Notification: Performance of SimCode: time 0.01836/2.524, allocations: 9.456 MB / 1.619 GB, free: 301.2 MB / 1.279 GB Notification: Performance of Templates: time 0.1705/2.694, allocations: 138.8 MB / 1.755 GB, free: 162.8 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DXCooling.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DXCooling.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DXCooling.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DXCooling.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DXCooling.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DXCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DXCooling.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DXCooling_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DXCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DXCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches