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.001601/0.001601, allocations: 110.4 kB / 16.42 MB, free: 6.512 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.001882/0.001882, 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.402/1.402, allocations: 222.9 MB / 241 MB, free: 15.18 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.553/2.553, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002173/0.002173, allocations: 67.89 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.241/1.243, allocations: 151.6 MB / 1.167 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.VariableSpeed): time 0.3842/1.628, allocations: 305.9 MB / 1.466 GB, free: 0.8281 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.05271/1.68, allocations: 28.56 MB / 1.494 GB, free: 4.188 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006322/1.687, allocations: 79.56 kB / 1.494 GB, free: 4.109 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.006567/1.693, allocations: 1.779 MB / 1.496 GB, free: 2.32 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.01372/1.707, allocations: 3.818 MB / 1.5 GB, free: 14.48 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.01282/1.72, allocations: 4.169 MB / 1.504 GB, free: 10.34 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.01323/1.733, allocations: 7.188 MB / 1.511 GB, free: 3.137 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006566/1.74, allocations: 2.925 MB / 1.513 GB, free: 148 kB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008962/1.749, allocations: 3.061 MB / 1.516 GB, free: 13.09 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005439/1.754, allocations: 2.345 MB / 1.519 GB, free: 10.74 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.002146/1.757, allocations: 0.543 MB / 1.519 GB, free: 10.2 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01382/1.77, allocations: 4.613 MB / 1.524 GB, free: 5.578 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.00306/1.773, allocations: 1.453 MB / 1.525 GB, free: 4.121 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.006475/1.78, allocations: 2.408 MB / 1.528 GB, free: 1.703 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.02165/1.802, allocations: 10.47 MB / 1.538 GB, free: 7.207 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 1.48e-05/1.802, allocations: 4 kB / 1.538 GB, free: 7.203 MB / 1.264 GB Notification: Performance of FrontEnd: time 2.906e-06/1.802, allocations: 3.938 kB / 1.538 GB, free: 7.199 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.0002863/1.802, allocations: 0 / 1.538 GB, free: 7.199 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.02283/1.825, allocations: 5.177 MB / 1.543 GB, free: 1.895 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 7.267e-05/1.825, allocations: 8.922 kB / 1.543 GB, free: 1.887 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02587/1.851, allocations: 2.784 MB / 1.546 GB, free: 15.09 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01277/1.864, allocations: 4.317 MB / 1.55 GB, free: 10.72 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006634/1.864, allocations: 349.7 kB / 1.55 GB, free: 10.34 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001256/1.866, allocations: 184 kB / 1.55 GB, free: 10.16 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01521/1.881, allocations: 4.138 MB / 1.554 GB, free: 5.969 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.105e-05/1.881, allocations: 7.875 kB / 1.554 GB, free: 5.961 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007995/1.882, allocations: 71.98 kB / 1.554 GB, free: 5.891 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.397e-05/1.882, allocations: 59.12 kB / 1.554 GB, free: 5.832 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02006/1.902, allocations: 5.329 MB / 1.56 GB, free: 0.4961 MB / 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 1.13/3.032, allocations: 15.9 MB / 1.575 GB, free: 375.9 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02098/3.053, allocations: 5.04 MB / 1.58 GB, free: 373.4 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00805/3.061, allocations: 2.46 MB / 1.583 GB, free: 372.1 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002711/3.064, allocations: 4.296 MB / 1.587 GB, free: 367.1 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009025/3.073, allocations: 2.907 MB / 1.59 GB, free: 365.4 MB / 1.279 GB Notification: Performance of pre-optimization done (n=126): time 7.414e-06/3.073, allocations: 0 / 1.59 GB, free: 365.4 MB / 1.279 GB Notification: Performance of matching and sorting (n=126): time 0.05207/3.125, allocations: 9.948 MB / 1.599 GB, free: 355.8 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.47e-05/3.125, allocations: 127.8 kB / 1.599 GB, free: 355.6 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009887/3.135, allocations: 4.954 MB / 1.604 GB, free: 350.7 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0009438/3.136, allocations: 65.7 kB / 1.604 GB, free: 350.6 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.00196/3.138, allocations: 1.486 MB / 1.606 GB, free: 349.2 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009576/3.139, allocations: 418.7 kB / 1.606 GB, free: 348.8 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001779/3.141, allocations: 407.2 kB / 1.607 GB, free: 348.4 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001078/3.141, allocations: 353.9 kB / 1.607 GB, free: 348.1 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007889/3.149, allocations: 2.808 MB / 1.61 GB, free: 345.3 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008321/3.157, allocations: 3.101 MB / 1.613 GB, free: 342.1 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1665/3.324, allocations: 52.46 MB / 1.664 GB, free: 289.5 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.791e-05/3.324, allocations: 4 kB / 1.664 GB, free: 289.5 MB / 1.279 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.069/3.393, allocations: 8.226 MB / 1.672 GB, free: 281.2 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002129/3.393, allocations: 142.8 kB / 1.672 GB, free: 281.1 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/3.393, allocations: 4 kB / 1.672 GB, free: 281.1 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006584/3.4, allocations: 0.9995 MB / 1.673 GB, free: 280.1 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008786/3.409, allocations: 0.6123 MB / 1.674 GB, free: 279.4 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01394/3.423, allocations: 7.504 MB / 1.681 GB, free: 271.4 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01139/3.434, allocations: 0.5643 MB / 1.681 GB, free: 270.9 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001143/3.435, allocations: 107.8 kB / 1.682 GB, free: 270.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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01471/3.45, allocations: 3.963 MB / 1.685 GB, free: 266.8 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00909/3.459, allocations: 3.086 MB / 1.688 GB, free: 263.6 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1671/3.626, allocations: 52.38 MB / 1.74 GB, free: 211.1 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.975e-06/3.626, allocations: 0 / 1.74 GB, free: 211.1 MB / 1.279 GB Notification: Performance of matching and sorting (n=176) (initialization_lambda0): time 0.04086/3.667, allocations: 8.172 MB / 1.748 GB, free: 202.9 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001599/3.667, allocations: 150.7 kB / 1.748 GB, free: 202.7 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/3.667, allocations: 4 kB / 1.748 GB, free: 202.7 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003305/3.671, allocations: 0.9527 MB / 1.749 GB, free: 201.7 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004685/3.676, allocations: 0.6083 MB / 1.749 GB, free: 201.1 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007515/3.683, allocations: 7.044 MB / 1.756 GB, free: 193.6 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006619/3.69, allocations: 0.5491 MB / 1.757 GB, free: 193 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007582/3.69, allocations: 103.9 kB / 1.757 GB, free: 192.9 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.001338/3.692, allocations: 327.8 kB / 1.757 GB, free: 192.6 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001645/3.693, allocations: 335.8 kB / 1.757 GB, free: 192.3 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03816/3.732, allocations: 7.133 MB / 1.764 GB, free: 185.1 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.081e-05/3.732, allocations: 7.969 kB / 1.764 GB, free: 185.1 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/3.732, allocations: 0 / 1.764 GB, free: 185.1 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003383/3.735, allocations: 1.141 MB / 1.766 GB, free: 184 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001673/3.737, allocations: 39.94 kB / 1.766 GB, free: 183.9 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005924/3.743, allocations: 451.3 kB / 1.766 GB, free: 183.5 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005412/3.743, allocations: 132.8 kB / 1.766 GB, free: 183.3 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02409/3.767, allocations: 5.755 MB / 1.772 GB, free: 177.6 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02622/3.794, allocations: 8.435 MB / 1.78 GB, free: 169.1 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007946/3.802, allocations: 2.498 MB / 1.782 GB, free: 166.6 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.006653/3.808, allocations: 3.52 MB / 1.786 GB, free: 163.1 MB / 1.279 GB Notification: Performance of Backend: time 1.012e-06/3.808, allocations: 0 / 1.786 GB, free: 163.1 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.02987/3.838, allocations: 8.826 MB / 1.794 GB, free: 154.3 MB / 1.279 GB Notification: Performance of SimCode: time 0.0165/3.855, allocations: 7.75 MB / 1.802 GB, free: 146.6 MB / 1.279 GB Notification: Performance of Templates: time 0.1525/4.007, allocations: 119.4 MB / 1.919 GB, free: 27.56 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