Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.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 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.WaterSource.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.dxCoi.mWat_flow|varSpeDX.speRat|varSpeDX.P|varSpeDX.eva.dxCoi.Q_flow|varSpeDX.watCooCon.Q_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.VariableSpeed") translateModel(Buildings.Fluid.DXSystems.Cooling.WaterSource.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.dxCoi.mWat_flow|varSpeDX.speRat|varSpeDX.P|varSpeDX.eva.dxCoi.Q_flow|varSpeDX.watCooCon.Q_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 115.3 kB / 16.42 MB, free: 6.496 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.001701/0.001701, allocations: 185.7 kB / 17.34 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.524/1.524, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.6/2.6, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 63.89 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.161/1.163, allocations: 151.6 MB / 1.167 GB, free: 3.988 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.VariableSpeed): time 0.348/1.511, allocations: 305.9 MB / 1.466 GB, free: 0.9336 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.04404/1.555, allocations: 28.55 MB / 1.494 GB, free: 4.305 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006126/1.561, allocations: 79.56 kB / 1.494 GB, free: 4.227 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.00623/1.568, allocations: 1.786 MB / 1.496 GB, free: 2.43 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.01359/1.581, allocations: 3.823 MB / 1.5 GB, free: 14.59 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.01279/1.594, allocations: 4.16 MB / 1.504 GB, free: 10.46 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.01341/1.608, allocations: 7.2 MB / 1.511 GB, free: 3.242 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007062/1.615, allocations: 2.913 MB / 1.513 GB, free: 268 kB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01134/1.626, allocations: 3.057 MB / 1.516 GB, free: 13.21 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005644/1.632, allocations: 2.343 MB / 1.519 GB, free: 10.86 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.00233/1.634, allocations: 0.543 MB / 1.519 GB, free: 10.32 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01282/1.647, allocations: 4.616 MB / 1.524 GB, free: 5.695 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.002897/1.65, allocations: 1.461 MB / 1.525 GB, free: 4.23 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.006163/1.656, allocations: 2.4 MB / 1.528 GB, free: 1.82 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.02159/1.678, allocations: 10.5 MB / 1.538 GB, free: 7.285 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 1.029e-05/1.678, allocations: 0 / 1.538 GB, free: 7.285 MB / 1.264 GB Notification: Performance of FrontEnd: time 2.705e-06/1.678, allocations: 0 / 1.538 GB, free: 7.285 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.0002881/1.678, allocations: 4 kB / 1.538 GB, free: 7.281 MB / 1.264 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 409 * Number of variables: 409 Notification: Performance of Generate backend data structure: time 0.02028/1.698, allocations: 5.321 MB / 1.543 GB, free: 1.828 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 6.331e-05/1.698, allocations: 8.922 kB / 1.543 GB, free: 1.82 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02367/1.722, allocations: 2.81 MB / 1.546 GB, free: 15 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01213/1.734, allocations: 4.355 MB / 1.55 GB, free: 10.59 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006924/1.735, allocations: 349.8 kB / 1.55 GB, free: 10.21 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001226/1.736, allocations: 176 kB / 1.55 GB, free: 10.04 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01476/1.751, allocations: 4.146 MB / 1.555 GB, free: 5.844 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.211e-05/1.751, allocations: 0 / 1.555 GB, free: 5.844 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007946/1.752, allocations: 68 kB / 1.555 GB, free: 5.777 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.284e-05/1.752, allocations: 55.12 kB / 1.555 GB, free: 5.723 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01848/1.771, allocations: 5.325 MB / 1.56 GB, free: 400 kB / 1.279 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.9498/2.72, allocations: 15.93 MB / 1.575 GB, free: 375.8 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01937/2.74, allocations: 5.048 MB / 1.58 GB, free: 373.3 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007346/2.747, allocations: 2.46 MB / 1.583 GB, free: 372 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002652/2.75, allocations: 4.298 MB / 1.587 GB, free: 367 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008151/2.758, allocations: 2.905 MB / 1.59 GB, free: 365.4 MB / 1.279 GB Notification: Performance of pre-optimization done (n=126): time 5.34e-06/2.758, allocations: 1.125 kB / 1.59 GB, free: 365.4 MB / 1.279 GB Notification: Performance of matching and sorting (n=126): time 0.04972/2.808, allocations: 9.968 MB / 1.6 GB, free: 355.7 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.723e-05/2.808, allocations: 131.8 kB / 1.6 GB, free: 355.5 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01016/2.818, allocations: 4.956 MB / 1.604 GB, free: 350.6 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0009069/2.819, allocations: 65.7 kB / 1.605 GB, free: 350.5 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.001944/2.821, allocations: 1.496 MB / 1.606 GB, free: 349.1 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009662/2.822, allocations: 432.8 kB / 1.606 GB, free: 348.7 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001916/2.824, allocations: 403.3 kB / 1.607 GB, free: 348.3 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.000118/2.824, allocations: 357.9 kB / 1.607 GB, free: 348 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007811/2.832, allocations: 2.804 MB / 1.61 GB, free: 345.1 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008386/2.84, allocations: 3.097 MB / 1.613 GB, free: 342 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2168/3.057, allocations: 52.46 MB / 1.664 GB, free: 289.4 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.652e-05/3.057, allocations: 0 / 1.664 GB, free: 289.4 MB / 1.279 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.06902/3.126, allocations: 8.248 MB / 1.672 GB, free: 281.1 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002173/3.127, allocations: 142.8 kB / 1.672 GB, free: 280.9 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.163e-05/3.127, allocations: 4 kB / 1.672 GB, free: 280.9 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006118/3.133, allocations: 1.003 MB / 1.673 GB, free: 279.9 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007911/3.141, allocations: 0.6123 MB / 1.674 GB, free: 279.3 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009262/3.15, allocations: 7.498 MB / 1.681 GB, free: 271.3 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006985/3.157, allocations: 0.5777 MB / 1.682 GB, free: 270.8 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007637/3.158, allocations: 115.8 kB / 1.682 GB, free: 270.6 MB / 1.279 GB Warning: Assuming fixed start value for the following 1 variables: varSpeDX.eva.watVapEva.off:DISCRETE(fixed = true protected = true final = true ) "Signal, true when component is off" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01057/3.168, allocations: 3.959 MB / 1.686 GB, free: 266.7 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008535/3.177, allocations: 3.086 MB / 1.689 GB, free: 263.5 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1574/3.334, allocations: 52.39 MB / 1.74 GB, free: 211 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.803e-06/3.334, allocations: 0 / 1.74 GB, free: 211 MB / 1.279 GB Notification: Performance of matching and sorting (n=176) (initialization_lambda0): time 0.03765/3.372, allocations: 8.174 MB / 1.748 GB, free: 202.7 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001515/3.372, allocations: 153.5 kB / 1.748 GB, free: 202.6 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/3.372, allocations: 7.938 kB / 1.748 GB, free: 202.6 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00309/3.375, allocations: 0.9525 MB / 1.749 GB, free: 201.6 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004343/3.38, allocations: 0.6045 MB / 1.75 GB, free: 201 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006943/3.387, allocations: 7.049 MB / 1.756 GB, free: 193.5 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006333/3.393, allocations: 0.545 MB / 1.757 GB, free: 192.9 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007128/3.394, allocations: 108.1 kB / 1.757 GB, free: 192.8 MB / 1.279 GB Warning: Assuming fixed start value for the following 1 variables: varSpeDX.eva.watVapEva.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.watVapEva.off,$PRE.varSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTCon[1],$PRE.varSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTEva[1],$PRE.varSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTCon[1],$PRE.varSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTEva[1],speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,varSpeDX.eva.deaBan.y,varSpeDX.eva.watVapEva.off,varSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTCon[1],varSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTEva[1],varSpeDX.eva.dxCoi.dryCoi.coiCap.stage,varSpeDX.eva.dxCoi.wetCoi.shr.on,varSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTCon[1],varSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTEva[1],varSpeDX.eva.dxCoi.wetCoi.coiCap.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 (153): * Single equations (assignments): 144 * 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 {(7,3), (1,1), (1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001203/3.395, allocations: 326.2 kB / 1.757 GB, free: 192.5 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001609/3.397, allocations: 361.7 kB / 1.758 GB, free: 192.1 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03621/3.433, allocations: 7.138 MB / 1.765 GB, free: 185 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.655e-05/3.433, allocations: 7.969 kB / 1.765 GB, free: 185 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/3.433, allocations: 0 / 1.765 GB, free: 185 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003615/3.437, allocations: 1.152 MB / 1.766 GB, free: 183.8 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001649/3.438, allocations: 43.94 kB / 1.766 GB, free: 183.8 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006102/3.444, allocations: 451.3 kB / 1.766 GB, free: 183.3 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006141/3.445, allocations: 128.8 kB / 1.766 GB, free: 183.2 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02191/3.467, allocations: 5.754 MB / 1.772 GB, free: 177.4 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0235/3.49, allocations: 8.456 MB / 1.78 GB, free: 169 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007098/3.498, allocations: 2.502 MB / 1.783 GB, free: 166.5 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.006795/3.504, allocations: 3.52 MB / 1.786 GB, free: 163 MB / 1.279 GB Notification: Performance of Backend: time 1.492e-06/3.505, allocations: 0 / 1.786 GB, free: 163 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.02699/3.531, allocations: 8.833 MB / 1.795 GB, free: 154.1 MB / 1.279 GB Notification: Performance of SimCode: time 0.01362/3.545, allocations: 7.846 MB / 1.803 GB, free: 146.2 MB / 1.279 GB Notification: Performance of Templates: time 0.145/3.69, allocations: 119.4 MB / 1.919 GB, free: 27.23 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.VariableSpeed.makefile (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.VariableSpeed.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.VariableSpeed.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.VariableSpeed.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.VariableSpeed.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.VariableSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.VariableSpeed.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.VariableSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_WaterSource_Examples_VariableSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.VariableSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches