Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001445/0.001445, allocations: 119.7 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.001377/0.001377, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.436/1.436, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.674/2.674, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 75.89 kB / 1.055 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.171/1.172, allocations: 157.4 MB / 1.208 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.VariableSpeed): time 0.3762/1.549, allocations: 305.9 MB / 1.507 GB, free: 10.64 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.0461/1.595, allocations: 28.56 MB / 1.535 GB, free: 14 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005978/1.601, allocations: 79.56 kB / 1.535 GB, free: 13.92 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.006522/1.607, allocations: 1.747 MB / 1.537 GB, free: 12.16 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.01364/1.621, allocations: 3.665 MB / 1.54 GB, free: 8.48 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.01274/1.634, allocations: 4.13 MB / 1.544 GB, free: 4.383 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.01267/1.646, allocations: 7.188 MB / 1.551 GB, free: 13.18 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006713/1.653, allocations: 2.913 MB / 1.554 GB, free: 10.2 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009058/1.662, allocations: 3.045 MB / 1.557 GB, free: 7.164 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005477/1.668, allocations: 2.35 MB / 1.56 GB, free: 4.809 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.002166/1.67, allocations: 0.5391 MB / 1.56 GB, free: 4.27 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 1.045/2.715, allocations: 4.595 MB / 1.565 GB, free: 99.18 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.003329/2.719, allocations: 1.456 MB / 1.566 GB, free: 99.18 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.007896/2.727, allocations: 2.399 MB / 1.568 GB, free: 99.18 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.02256/2.749, allocations: 10.47 MB / 1.579 GB, free: 99.02 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/2.749, allocations: 1.156 kB / 1.579 GB, free: 99.02 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.784e-06/2.749, allocations: 0 / 1.579 GB, free: 99.02 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0002227/2.75, allocations: 0 / 1.579 GB, free: 99.02 MB / 1.279 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.01909/2.769, allocations: 5.184 MB / 1.584 GB, free: 96.7 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/2.769, allocations: 9.312 kB / 1.584 GB, free: 96.7 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02462/2.793, allocations: 2.786 MB / 1.586 GB, free: 96.48 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01157/2.805, allocations: 4.319 MB / 1.591 GB, free: 95.72 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004523/2.806, allocations: 342.2 kB / 1.591 GB, free: 95.53 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009919/2.807, allocations: 180.6 kB / 1.591 GB, free: 95.53 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01316/2.82, allocations: 4.144 MB / 1.595 GB, free: 95.36 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.356e-05/2.82, allocations: 3.656 kB / 1.595 GB, free: 95.36 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003733/2.82, allocations: 67.97 kB / 1.595 GB, free: 95.36 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.376e-05/2.82, allocations: 60.7 kB / 1.595 GB, free: 95.36 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01884/2.839, allocations: 5.328 MB / 1.6 GB, free: 95.34 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 0.03922/2.878, allocations: 15.9 MB / 1.616 GB, free: 92.73 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02122/2.9, allocations: 5.036 MB / 1.621 GB, free: 92.56 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00807/2.908, allocations: 2.46 MB / 1.623 GB, free: 92.51 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002704/2.91, allocations: 4.299 MB / 1.628 GB, free: 87.62 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00975/2.92, allocations: 2.906 MB / 1.63 GB, free: 87.5 MB / 1.279 GB Notification: Performance of pre-optimization done (n=126): time 4.639e-06/2.92, allocations: 0 / 1.63 GB, free: 87.5 MB / 1.279 GB Notification: Performance of matching and sorting (n=126): time 0.052/2.972, allocations: 9.956 MB / 1.64 GB, free: 86.67 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/2.972, allocations: 128.2 kB / 1.64 GB, free: 86.54 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01126/2.984, allocations: 4.95 MB / 1.645 GB, free: 86.29 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.001105/2.985, allocations: 76.39 kB / 1.645 GB, free: 86.26 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.001853/2.987, allocations: 1.476 MB / 1.647 GB, free: 85.96 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.00108/2.988, allocations: 412.6 kB / 1.647 GB, free: 85.71 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001107/2.989, allocations: 410.9 kB / 1.647 GB, free: 85.68 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001244/2.989, allocations: 359.5 kB / 1.648 GB, free: 85.38 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008717/2.998, allocations: 2.806 MB / 1.65 GB, free: 85.31 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009333/3.007, allocations: 3.093 MB / 1.653 GB, free: 84.82 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1622/3.169, allocations: 52.45 MB / 1.705 GB, free: 44.82 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/3.169, allocations: 0 / 1.705 GB, free: 44.82 MB / 1.279 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.03792/3.207, allocations: 8.234 MB / 1.713 GB, free: 36.58 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002233/3.208, allocations: 146.8 kB / 1.713 GB, free: 36.41 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/3.208, allocations: 4 kB / 1.713 GB, free: 36.41 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00367/3.211, allocations: 0.9911 MB / 1.714 GB, free: 35.41 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004608/3.216, allocations: 0.6171 MB / 1.714 GB, free: 34.8 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007713/3.224, allocations: 7.505 MB / 1.722 GB, free: 26.86 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007505/3.231, allocations: 0.5851 MB / 1.722 GB, free: 26.28 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001046/3.232, allocations: 107.8 kB / 1.722 GB, free: 26.17 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.0113/3.244, allocations: 3.955 MB / 1.726 GB, free: 22.21 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009007/3.253, allocations: 3.089 MB / 1.729 GB, free: 19.05 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1778/3.43, allocations: 52.38 MB / 1.78 GB, free: 14.51 MB / 1.326 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.422e-06/3.431, allocations: 0 / 1.78 GB, free: 14.51 MB / 1.326 GB Notification: Performance of matching and sorting (n=176) (initialization_lambda0): time 0.0426/3.473, allocations: 8.16 MB / 1.788 GB, free: 6.34 MB / 1.326 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001956/3.473, allocations: 154.7 kB / 1.789 GB, free: 6.164 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/3.473, allocations: 4 kB / 1.789 GB, free: 6.16 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003456/3.477, allocations: 0.9499 MB / 1.79 GB, free: 5.199 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004887/3.482, allocations: 0.6162 MB / 1.79 GB, free: 4.598 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008794/3.491, allocations: 7.038 MB / 1.797 GB, free: 13.12 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007729/3.498, allocations: 0.5453 MB / 1.798 GB, free: 12.57 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007246/3.499, allocations: 107.8 kB / 1.798 GB, free: 12.46 MB / 1.342 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.0009435/3.5, allocations: 325.5 kB / 1.798 GB, free: 12.15 MB / 1.342 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001362/3.501, allocations: 339.8 kB / 1.798 GB, free: 11.81 MB / 1.342 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03964/3.541, allocations: 7.136 MB / 1.805 GB, free: 4.691 MB / 1.342 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.936e-05/3.541, allocations: 3.984 kB / 1.805 GB, free: 4.688 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/3.541, allocations: 0 / 1.805 GB, free: 4.688 MB / 1.342 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0036/3.545, allocations: 1.141 MB / 1.806 GB, free: 3.523 MB / 1.342 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001454/3.546, allocations: 47.88 kB / 1.806 GB, free: 3.477 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005849/3.552, allocations: 447.3 kB / 1.807 GB, free: 3.039 MB / 1.342 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004134/3.553, allocations: 132.8 kB / 1.807 GB, free: 2.91 MB / 1.342 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02439/3.577, allocations: 5.762 MB / 1.813 GB, free: 13.14 MB / 1.357 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02773/3.605, allocations: 8.433 MB / 1.821 GB, free: 4.68 MB / 1.357 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.008639/3.613, allocations: 2.498 MB / 1.823 GB, free: 2.18 MB / 1.357 GB Notification: Performance of sorting global known variables: time 0.006884/3.62, allocations: 3.516 MB / 1.827 GB, free: 14.68 MB / 1.373 GB Notification: Performance of Backend: time 9.72e-07/3.62, allocations: 0 / 1.827 GB, free: 14.68 MB / 1.373 GB Notification: Performance of simCode: created initialization part: time 0.03048/3.651, allocations: 8.805 MB / 1.835 GB, free: 5.867 MB / 1.373 GB Notification: Performance of SimCode: time 0.01628/3.667, allocations: 7.761 MB / 1.843 GB, free: 14.12 MB / 1.389 GB Notification: Performance of Templates: time 0.1865/3.854, allocations: 119.4 MB / 1.959 GB, free: 7.656 MB / 1.498 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.VariableSpeed.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.VariableSpeed.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.VariableSpeed.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.VariableSpeed.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.VariableSpeed.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.VariableSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.VariableSpeed.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.VariableSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_WaterSource_Examples_VariableSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.VariableSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches