Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.SingleSpeed.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.HeatExchangers.DXCoils.WaterCooled.Examples.SingleSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sinSpeDX.eva.vol.T|sinSpeDX.sta_a1.T|sinSpeDX.sta_a2.T|sinSpeDX.sta_b2.T|sinSpeDX.sta_a1.X.1.|sinSpeDX.eva.vol.X_w|sinSpeDX.eva.dxCoo.mWat_flow|onOff.y|sinSpeDX.P|sinSpeDX.eva.dxCoo.Q_flow|sinSpeDX.watCooCon.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.SingleSpeed") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.SingleSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sinSpeDX.eva.vol.T|sinSpeDX.sta_a1.T|sinSpeDX.sta_a2.T|sinSpeDX.sta_b2.T|sinSpeDX.sta_a1.X.1.|sinSpeDX.eva.vol.X_w|sinSpeDX.eva.dxCoo.mWat_flow|onOff.y|sinSpeDX.P|sinSpeDX.eva.dxCoo.Q_flow|sinSpeDX.watCooCon.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.SingleSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001756/0.001756, allocations: 112.1 kB / 16.42 MB, free: 6.441 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.002057/0.002057, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.189/2.189, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 67.89 kB / 0.9516 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9038/0.9051, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.SingleSpeed): time 0.337/1.242, allocations: 303.5 MB / 1.385 GB, free: 13.73 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.03595/1.278, allocations: 28.22 MB / 1.413 GB, free: 1.422 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004214/1.282, allocations: 79.56 kB / 1.413 GB, free: 1.344 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.005284/1.288, allocations: 1.685 MB / 1.414 GB, free: 15.65 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.01004/1.298, allocations: 3.725 MB / 1.418 GB, free: 11.91 MB / 1.154 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/Fluid/HeatExchangers/DXCoils/BaseClasses/Functions/warnIfPerformanceOutOfBounds.mo:2:1-41:33:writable] Warning: Pure function 'Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Functions.warnIfPerformanceOutOfBounds' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.01033/1.308, allocations: 4.081 MB / 1.422 GB, free: 7.855 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.01071/1.319, allocations: 6.885 MB / 1.429 GB, free: 0.9609 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005141/1.324, allocations: 2.806 MB / 1.431 GB, free: 14.09 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007287/1.331, allocations: 2.939 MB / 1.434 GB, free: 11.15 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004804/1.336, allocations: 2.209 MB / 1.436 GB, free: 8.941 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.001602/1.338, allocations: 0.5195 MB / 1.437 GB, free: 8.422 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01002/1.348, allocations: 4.289 MB / 1.441 GB, free: 4.125 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.002063/1.35, allocations: 1.352 MB / 1.442 GB, free: 2.77 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.003985/1.354, allocations: 2.233 MB / 1.445 GB, free: 0.5273 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.01373/1.368, allocations: 9.696 MB / 1.454 GB, free: 6.805 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/1.368, allocations: 0 / 1.454 GB, free: 6.805 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.423e-06/1.368, allocations: 0 / 1.454 GB, free: 6.805 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0001662/1.368, allocations: 0 / 1.454 GB, free: 6.805 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: 391 * Number of variables: 391 Notification: Performance of Generate backend data structure: time 0.01194/1.38, allocations: 4.726 MB / 1.459 GB, free: 1.957 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/1.38, allocations: 12.03 kB / 1.459 GB, free: 1.945 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0236/1.403, allocations: 2.691 MB / 1.461 GB, free: 15.25 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00818/1.412, allocations: 3.664 MB / 1.465 GB, free: 11.52 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005192/1.412, allocations: 371.4 kB / 1.465 GB, free: 11.11 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008043/1.413, allocations: 176 kB / 1.465 GB, free: 10.94 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01232/1.425, allocations: 3.983 MB / 1.469 GB, free: 6.906 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.865e-05/1.425, allocations: 0 / 1.469 GB, free: 6.906 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000343/1.426, allocations: 60 kB / 1.469 GB, free: 6.848 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.148e-05/1.426, allocations: 66.94 kB / 1.469 GB, free: 6.781 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0188/1.445, allocations: 5.149 MB / 1.475 GB, free: 1.625 MB / 1.201 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.0319/1.477, allocations: 15.53 MB / 1.49 GB, free: 1.758 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02179/1.498, allocations: 4.85 MB / 1.494 GB, free: 12.88 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008435/1.507, allocations: 2.4 MB / 1.497 GB, free: 10.47 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001192/1.508, allocations: 1.335 MB / 1.498 GB, free: 8.84 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00951/1.518, allocations: 2.784 MB / 1.501 GB, free: 6.043 MB / 1.232 GB Notification: Performance of pre-optimization done (n=118): time 4.118e-06/1.518, allocations: 0 / 1.501 GB, free: 6.043 MB / 1.232 GB Notification: Performance of matching and sorting (n=118): time 0.0548/1.572, allocations: 9.764 MB / 1.51 GB, free: 12.2 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.301e-05/1.573, allocations: 76.33 kB / 1.51 GB, free: 12.11 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009202/1.582, allocations: 4.572 MB / 1.515 GB, free: 7.543 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0007045/1.582, allocations: 73.69 kB / 1.515 GB, free: 7.465 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.001832/1.584, allocations: 1.335 MB / 1.516 GB, free: 6.117 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007685/1.585, allocations: 390.4 kB / 1.517 GB, free: 5.73 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001584/1.587, allocations: 399.2 kB / 1.517 GB, free: 5.332 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001637/1.587, allocations: 357.9 kB / 1.517 GB, free: 4.977 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009048/1.596, allocations: 2.757 MB / 1.52 GB, free: 2.211 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00987/1.606, allocations: 3.061 MB / 1.523 GB, free: 15.07 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1329/1.739, allocations: 43.28 MB / 1.565 GB, free: 3.637 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.862e-05/1.739, allocations: 3.938 kB / 1.565 GB, free: 3.633 MB / 1.295 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.04327/1.782, allocations: 8.097 MB / 1.573 GB, free: 11.48 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002148/1.782, allocations: 125.3 kB / 1.573 GB, free: 11.34 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.031e-05/1.782, allocations: 15.94 kB / 1.573 GB, free: 11.33 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004198/1.787, allocations: 1.023 MB / 1.574 GB, free: 10.29 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004882/1.792, allocations: 0.6045 MB / 1.575 GB, free: 9.684 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01096/1.803, allocations: 7.588 MB / 1.582 GB, free: 1.613 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006316/1.809, allocations: 0.5487 MB / 1.583 GB, free: 1.062 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005755/1.809, allocations: 91.89 kB / 1.583 GB, free: 0.9727 MB / 1.311 GB Warning: Assuming fixed start value for the following 1 variables: sinSpeDX.eva.eva.off:DISCRETE(fixed = true protected = true ) "Signal, true when component is off" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.5409/2.35, allocations: 3.833 MB / 1.587 GB, free: 445.7 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009856/2.36, allocations: 3.038 MB / 1.59 GB, free: 444.8 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1372/2.497, allocations: 43.21 MB / 1.632 GB, free: 434.4 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.794e-06/2.497, allocations: 1.531 kB / 1.632 GB, free: 434.4 MB / 1.311 GB Notification: Performance of matching and sorting (n=173) (initialization_lambda0): time 0.04105/2.539, allocations: 8.045 MB / 1.64 GB, free: 430.5 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001277/2.539, allocations: 124.1 kB / 1.64 GB, free: 430.3 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/2.539, allocations: 3.594 kB / 1.64 GB, free: 430.3 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003523/2.542, allocations: 0.9808 MB / 1.641 GB, free: 429.9 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00478/2.547, allocations: 0.6064 MB / 1.641 GB, free: 429.6 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00795/2.555, allocations: 7.123 MB / 1.648 GB, free: 423.1 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006059/2.561, allocations: 0.522 MB / 1.649 GB, free: 422.8 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004366/2.562, allocations: 93.52 kB / 1.649 GB, free: 422.8 MB / 1.311 GB Warning: Assuming fixed start value for the following 1 variables: sinSpeDX.eva.eva.off:DISCRETE(fixed = true protected = true ) "Signal, true when component is off" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 19 (sinSpeDX.eva.i_x,$PRE.sinSpeDX.eva.eva.off,$PRE.sinSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTCon[1],$PRE.sinSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTEva[1],$PRE.sinSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTCon[1],$PRE.sinSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTEva[1],sinSpeDX.eva.eva.off,sinSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTCon[1],sinSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTEva[1],sinSpeDX.eva.dxCoo.dryCoi.cooCap.stage,sinSpeDX.eva.dxCoo.wetCoi.shr.on,sinSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTCon[1],sinSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTEva[1],sinSpeDX.eva.dxCoo.wetCoi.cooCap.stage,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 144 * Array equations: 1 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * 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): 5 systems {(8,3), (1,1), (1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006713/2.562, allocations: 279.2 kB / 1.649 GB, free: 422.6 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008324/2.563, allocations: 310.4 kB / 1.649 GB, free: 422.6 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03693/2.6, allocations: 6.869 MB / 1.656 GB, free: 419 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.524e-05/2.6, allocations: 7.969 kB / 1.656 GB, free: 419 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/2.6, allocations: 0 / 1.656 GB, free: 419 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002693/2.603, allocations: 1.082 MB / 1.657 GB, free: 418.2 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008007/2.604, allocations: 39.8 kB / 1.657 GB, free: 418.1 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004898/2.608, allocations: 436.2 kB / 1.658 GB, free: 417.9 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003319/2.609, allocations: 135.9 kB / 1.658 GB, free: 417.9 MB / 1.311 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02271/2.632, allocations: 5.506 MB / 1.663 GB, free: 415 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02425/2.656, allocations: 8.057 MB / 1.671 GB, free: 408.6 MB / 1.311 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007537/2.663, allocations: 2.404 MB / 1.673 GB, free: 406.2 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.004381/2.668, allocations: 3.248 MB / 1.677 GB, free: 402.9 MB / 1.311 GB Notification: Performance of Backend: time 1.042e-06/2.668, allocations: 0 / 1.677 GB, free: 402.9 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.02536/2.693, allocations: 8.648 MB / 1.685 GB, free: 394.4 MB / 1.311 GB Notification: Performance of SimCode: time 0.01037/2.704, allocations: 6.987 MB / 1.692 GB, free: 387.4 MB / 1.311 GB Notification: Performance of Templates: time 0.1298/2.833, allocations: 111.8 MB / 1.801 GB, free: 276.1 MB / 1.311 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.SingleSpeed.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.SingleSpeed.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.SingleSpeed.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.SingleSpeed.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.SingleSpeed.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.SingleSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.SingleSpeed.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.SingleSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_WaterCooled_Examples_SingleSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.SingleSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches