Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.VariableSpeed.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.VariableSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|varSpeDX.eva.vol.T|varSpeDX.sta_a1.T|varSpeDX.sta_a2.T|varSpeDX.sta_b2.T|varSpeDX.sta_a1.X.1.|varSpeDX.eva.vol.X_w|varSpeDX.eva.dxCoo.mWat_flow|varSpeDX.speRat|varSpeDX.P|varSpeDX.eva.dxCoo.Q_flow|varSpeDX.watCooCon.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.VariableSpeed") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.VariableSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|varSpeDX.eva.vol.T|varSpeDX.sta_a1.T|varSpeDX.sta_a2.T|varSpeDX.sta_b2.T|varSpeDX.sta_a1.X.1.|varSpeDX.eva.vol.X_w|varSpeDX.eva.dxCoo.mWat_flow|varSpeDX.speRat|varSpeDX.P|varSpeDX.eva.dxCoo.Q_flow|varSpeDX.watCooCon.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001758/0.001758, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001917/0.001917, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.354/1.354, allocations: 222.9 MB / 241 MB, free: 15.16 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.212/2.212, allocations: 390.2 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 59.91 kB / 0.9516 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7934/0.7948, allocations: 140.4 MB / 1.089 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.VariableSpeed): time 0.3362/1.131, allocations: 303.7 MB / 1.385 GB, free: 13.55 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.04098/1.172, allocations: 28.38 MB / 1.413 GB, free: 1.082 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003968/1.176, allocations: 79.56 kB / 1.413 GB, free: 1.004 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.005177/1.181, allocations: 1.717 MB / 1.415 GB, free: 15.27 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.01254/1.194, allocations: 3.771 MB / 1.418 GB, free: 11.48 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.01156/1.205, allocations: 4.155 MB / 1.422 GB, free: 7.363 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.01046/1.216, allocations: 6.998 MB / 1.429 GB, free: 360 kB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006813/1.223, allocations: 2.841 MB / 1.432 GB, free: 13.44 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007369/1.23, allocations: 2.974 MB / 1.435 GB, free: 10.48 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004059/1.234, allocations: 2.279 MB / 1.437 GB, free: 8.195 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.001554/1.236, allocations: 0.5234 MB / 1.438 GB, free: 7.672 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009476/1.245, allocations: 4.613 MB / 1.442 GB, free: 3.051 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.002144/1.248, allocations: 1.364 MB / 1.443 GB, free: 1.684 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.004159/1.252, allocations: 2.272 MB / 1.446 GB, free: 15.4 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.01512/1.267, allocations: 10 MB / 1.455 GB, free: 5.375 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/1.267, allocations: 0 / 1.455 GB, free: 5.375 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.944e-06/1.267, allocations: 0 / 1.455 GB, free: 5.375 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0002063/1.267, allocations: 0 / 1.455 GB, free: 5.375 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: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.01506/1.282, allocations: 4.865 MB / 1.46 GB, free: 392 kB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/1.282, allocations: 8.031 kB / 1.46 GB, free: 384 kB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02493/1.307, allocations: 2.757 MB / 1.463 GB, free: 13.61 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009413/1.317, allocations: 3.818 MB / 1.467 GB, free: 9.73 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005314/1.317, allocations: 345.7 kB / 1.467 GB, free: 9.355 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008933/1.318, allocations: 176 kB / 1.467 GB, free: 9.184 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01402/1.332, allocations: 4.101 MB / 1.471 GB, free: 5.027 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.307e-05/1.332, allocations: 4 kB / 1.471 GB, free: 5.023 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005247/1.333, allocations: 60 kB / 1.471 GB, free: 4.965 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.237e-05/1.333, allocations: 63.02 kB / 1.471 GB, free: 4.902 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01954/1.352, allocations: 5.305 MB / 1.476 GB, free: 15.59 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.03445/1.387, allocations: 15.68 MB / 1.492 GB, free: 15.57 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02189/1.409, allocations: 5.053 MB / 1.497 GB, free: 10.48 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008384/1.417, allocations: 2.46 MB / 1.499 GB, free: 8.02 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003584/1.421, allocations: 4.299 MB / 1.503 GB, free: 2.758 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009973/1.431, allocations: 2.906 MB / 1.506 GB, free: 15.83 MB / 1.248 GB Notification: Performance of pre-optimization done (n=126): time 5.681e-06/1.431, allocations: 0 / 1.506 GB, free: 15.83 MB / 1.248 GB Notification: Performance of matching and sorting (n=126): time 0.05534/1.486, allocations: 9.976 MB / 1.516 GB, free: 5.773 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/1.486, allocations: 123.8 kB / 1.516 GB, free: 5.625 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009382/1.496, allocations: 4.677 MB / 1.521 GB, free: 0.9531 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0007636/1.497, allocations: 73.69 kB / 1.521 GB, free: 0.875 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.001894/1.498, allocations: 1.359 MB / 1.522 GB, free: 15.5 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008559/1.499, allocations: 406.2 kB / 1.522 GB, free: 15.1 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001694/1.501, allocations: 407.2 kB / 1.523 GB, free: 14.7 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001745/1.501, allocations: 361.9 kB / 1.523 GB, free: 14.34 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009221/1.51, allocations: 2.808 MB / 1.526 GB, free: 11.52 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00977/1.52, allocations: 3.105 MB / 1.529 GB, free: 8.34 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1831/1.703, allocations: 52.49 MB / 1.58 GB, free: 3.668 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.635e-05/1.703, allocations: 3.938 kB / 1.58 GB, free: 3.664 MB / 1.311 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.5857/2.289, allocations: 8.255 MB / 1.588 GB, free: 445.8 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 0.000173/2.289, allocations: 157.8 kB / 1.588 GB, free: 445.7 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/2.289, allocations: 2.938 kB / 1.588 GB, free: 445.7 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004198/2.294, allocations: 1.029 MB / 1.589 GB, free: 445.6 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00476/2.298, allocations: 0.6123 MB / 1.59 GB, free: 445.6 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009264/2.308, allocations: 7.587 MB / 1.597 GB, free: 439.2 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006308/2.314, allocations: 0.5642 MB / 1.598 GB, free: 439.2 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006256/2.315, allocations: 111.9 kB / 1.598 GB, free: 439.2 MB / 1.311 GB Warning: Assuming fixed start value for the following 1 variables: varSpeDX.eva.eva.off:DISCRETE(fixed = true protected = true final = true ) "Signal, true when component is off" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01139/2.326, allocations: 3.9 MB / 1.602 GB, free: 437.7 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01029/2.336, allocations: 3.09 MB / 1.605 GB, free: 436.5 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1788/2.515, allocations: 52.41 MB / 1.656 GB, free: 420.2 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.704e-06/2.515, allocations: 7 kB / 1.656 GB, free: 420.2 MB / 1.311 GB Notification: Performance of matching and sorting (n=176) (initialization_lambda0): time 0.03866/2.554, allocations: 8.189 MB / 1.664 GB, free: 415.8 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001326/2.554, allocations: 154.8 kB / 1.664 GB, free: 415.6 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/2.554, allocations: 7.938 kB / 1.664 GB, free: 415.6 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003267/2.557, allocations: 0.9722 MB / 1.665 GB, free: 414.6 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004428/2.562, allocations: 0.6102 MB / 1.666 GB, free: 414 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00723/2.569, allocations: 7.13 MB / 1.673 GB, free: 406.5 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005973/2.575, allocations: 0.5463 MB / 1.673 GB, free: 406 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005886/2.576, allocations: 107.9 kB / 1.673 GB, free: 405.8 MB / 1.311 GB Warning: Assuming fixed start value for the following 1 variables: varSpeDX.eva.eva.off:DISCRETE(fixed = true protected = true final = true ) "Signal, true when component is off" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 28 (varSpeDX.eva.i_x,$PRE.varSpeDX.eva.deaBan.y,$PRE.varSpeDX.eva.eva.off,$PRE.varSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTCon[1],$PRE.varSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTEva[1],$PRE.varSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTCon[1],$PRE.varSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTEva[1],speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,varSpeDX.eva.deaBan.y,varSpeDX.eva.eva.off,varSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTCon[1],varSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTEva[1],varSpeDX.eva.dxCoo.dryCoi.cooCap.stage,varSpeDX.eva.dxCoo.wetCoi.shr.on,varSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTCon[1],varSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTEva[1],varSpeDX.eva.dxCoo.wetCoi.cooCap.stage,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 4 * 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.001144/2.577, allocations: 330 kB / 1.674 GB, free: 405.5 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00134/2.578, allocations: 313.2 kB / 1.674 GB, free: 405.3 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03625/2.615, allocations: 7.14 MB / 1.681 GB, free: 398.2 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.219e-05/2.615, allocations: 3.984 kB / 1.681 GB, free: 398.2 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.473e-06/2.615, allocations: 4 kB / 1.681 GB, free: 398.2 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002904/2.618, allocations: 1.121 MB / 1.682 GB, free: 397 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001397/2.619, allocations: 39.94 kB / 1.682 GB, free: 397 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006305/2.625, allocations: 443.3 kB / 1.682 GB, free: 396.6 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007089/2.626, allocations: 136.8 kB / 1.683 GB, free: 396.4 MB / 1.311 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02322/2.649, allocations: 5.786 MB / 1.688 GB, free: 390.6 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02501/2.674, allocations: 8.398 MB / 1.696 GB, free: 382.2 MB / 1.311 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007748/2.682, allocations: 2.506 MB / 1.699 GB, free: 379.7 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.005561/2.688, allocations: 3.312 MB / 1.702 GB, free: 376.4 MB / 1.311 GB Notification: Performance of Backend: time 1.093e-06/2.688, allocations: 0 / 1.702 GB, free: 376.4 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.02965/2.717, allocations: 9.023 MB / 1.711 GB, free: 367.4 MB / 1.311 GB Notification: Performance of SimCode: time 0.01359/2.731, allocations: 7.173 MB / 1.718 GB, free: 360.3 MB / 1.311 GB Notification: Performance of Templates: time 0.145/2.876, allocations: 116.1 MB / 1.831 GB, free: 244.6 MB / 1.311 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.VariableSpeed.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.VariableSpeed.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.VariableSpeed.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.VariableSpeed.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.VariableSpeed.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.VariableSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.VariableSpeed.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.VariableSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_WaterCooled_Examples_VariableSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.VariableSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches