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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001457/0.001457, allocations: 112.1 kB / 16.42 MB, free: 6.016 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.00134/0.00134, allocations: 188.9 kB / 17.35 MB, free: 5.617 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.439/1.439, 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 12.0.0-master/package.mo): time 2.786/2.786, allocations: 472.7 MB / 0.746 GB, free: 428 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001722/0.001723, allocations: 67.89 kB / 1.07 GB, free: 9.551 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.218/1.22, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.VariableSpeed): time 0.3704/1.59, allocations: 305.9 MB / 1.525 GB, free: 10.46 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.04738/1.638, allocations: 28.56 MB / 1.553 GB, free: 13.83 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006644/1.644, allocations: 87.5 kB / 1.553 GB, free: 13.74 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.006709/1.651, allocations: 1.782 MB / 1.555 GB, free: 11.95 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.01429/1.665, allocations: 3.814 MB / 1.559 GB, free: 8.117 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.01484/1.68, allocations: 4.167 MB / 1.563 GB, free: 3.98 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 1.241/2.921, allocations: 7.172 MB / 1.57 GB, free: 90.08 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00785/2.929, allocations: 2.925 MB / 1.572 GB, free: 89.76 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01097/2.94, allocations: 3.049 MB / 1.575 GB, free: 89.75 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007504/2.948, allocations: 2.35 MB / 1.578 GB, free: 89.75 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.00306/2.951, allocations: 0.542 MB / 1.578 GB, free: 89.75 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01499/2.966, allocations: 4.613 MB / 1.583 GB, free: 89.75 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.003783/2.97, allocations: 1.454 MB / 1.584 GB, free: 89.75 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.008072/2.978, allocations: 2.408 MB / 1.587 GB, free: 89.6 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.02427/3.002, allocations: 10.49 MB / 1.597 GB, free: 88.69 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/3.002, allocations: 1.094 kB / 1.597 GB, free: 88.69 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.405e-06/3.002, allocations: 0 / 1.597 GB, free: 88.69 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0003175/3.002, allocations: 0 / 1.597 GB, free: 88.69 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.02101/3.023, allocations: 5.333 MB / 1.602 GB, free: 86.14 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 6.558e-05/3.023, allocations: 10.97 kB / 1.602 GB, free: 86.14 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02487/3.048, allocations: 2.807 MB / 1.605 GB, free: 85.91 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.012/3.06, allocations: 4.346 MB / 1.609 GB, free: 85.12 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006279/3.061, allocations: 347.2 kB / 1.609 GB, free: 84.93 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001134/3.062, allocations: 183.7 kB / 1.61 GB, free: 84.93 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01373/3.076, allocations: 4.145 MB / 1.614 GB, free: 84.75 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.06e-05/3.076, allocations: 0.6875 kB / 1.614 GB, free: 84.75 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000441/3.076, allocations: 66.25 kB / 1.614 GB, free: 84.75 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.77e-05/3.077, allocations: 62.33 kB / 1.614 GB, free: 84.75 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0187/3.095, allocations: 5.325 MB / 1.619 GB, free: 84.73 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.04396/3.139, allocations: 15.93 MB / 1.634 GB, free: 82.07 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02214/3.161, allocations: 5.055 MB / 1.639 GB, free: 81.82 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008307/3.17, allocations: 2.46 MB / 1.642 GB, free: 81.77 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002792/3.173, allocations: 4.293 MB / 1.646 GB, free: 76.89 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009516/3.182, allocations: 2.904 MB / 1.649 GB, free: 76.76 MB / 1.279 GB Notification: Performance of pre-optimization done (n=126): time 5.32e-06/3.182, allocations: 0 / 1.649 GB, free: 76.76 MB / 1.279 GB Notification: Performance of matching and sorting (n=126): time 0.05523/3.237, allocations: 9.964 MB / 1.659 GB, free: 74.73 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.976e-05/3.238, allocations: 130.6 kB / 1.659 GB, free: 74.6 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01332/3.251, allocations: 4.958 MB / 1.664 GB, free: 72.49 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.001085/3.252, allocations: 66.39 kB / 1.664 GB, free: 72.43 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.002457/3.254, allocations: 1.503 MB / 1.665 GB, free: 71.13 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.001086/3.256, allocations: 426.6 kB / 1.665 GB, free: 70.78 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002155/3.258, allocations: 414.9 kB / 1.666 GB, free: 70.55 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 9.359e-05/3.258, allocations: 355.1 kB / 1.666 GB, free: 70.21 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00838/3.266, allocations: 2.803 MB / 1.669 GB, free: 68.7 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009123/3.275, allocations: 3.101 MB / 1.672 GB, free: 66.91 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1662/3.442, allocations: 52.46 MB / 1.723 GB, free: 17.36 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.659e-06/3.442, allocations: 0 / 1.723 GB, free: 17.36 MB / 1.279 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.04068/3.482, allocations: 8.251 MB / 1.731 GB, free: 9.094 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002014/3.483, allocations: 142.8 kB / 1.731 GB, free: 8.93 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/3.483, allocations: 4 kB / 1.731 GB, free: 8.926 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003554/3.486, allocations: 0.9947 MB / 1.732 GB, free: 7.918 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004729/3.491, allocations: 0.6122 MB / 1.733 GB, free: 7.32 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008976/3.5, allocations: 7.522 MB / 1.74 GB, free: 15.36 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008085/3.508, allocations: 0.5718 MB / 1.741 GB, free: 14.79 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001068/3.509, allocations: 111.8 kB / 1.741 GB, free: 14.68 MB / 1.295 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.01394/3.523, allocations: 3.967 MB / 1.745 GB, free: 10.71 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01019/3.533, allocations: 3.083 MB / 1.748 GB, free: 7.559 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1935/3.727, allocations: 52.37 MB / 1.799 GB, free: 3.023 MB / 1.342 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.129e-05/3.727, allocations: 4 kB / 1.799 GB, free: 3.02 MB / 1.342 GB Notification: Performance of matching and sorting (n=176) (initialization_lambda0): time 0.04703/3.774, allocations: 8.186 MB / 1.807 GB, free: 10.82 MB / 1.357 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002028/3.774, allocations: 150.7 kB / 1.807 GB, free: 10.65 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/3.774, allocations: 4 kB / 1.807 GB, free: 10.64 MB / 1.357 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003834/3.778, allocations: 0.952 MB / 1.808 GB, free: 9.68 MB / 1.357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005392/3.784, allocations: 0.6083 MB / 1.809 GB, free: 9.086 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01073/3.794, allocations: 7.041 MB / 1.816 GB, free: 1.609 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008383/3.803, allocations: 0.5495 MB / 1.816 GB, free: 1.059 MB / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001195/3.804, allocations: 107.9 kB / 1.816 GB, free: 0.9531 MB / 1.357 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.001727/3.806, allocations: 321.6 kB / 1.816 GB, free: 0.6406 MB / 1.357 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002434/3.808, allocations: 353.7 kB / 1.817 GB, free: 300 kB / 1.357 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04395/3.852, allocations: 7.134 MB / 1.824 GB, free: 9.168 MB / 1.373 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.798e-05/3.852, allocations: 11.97 kB / 1.824 GB, free: 9.156 MB / 1.373 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/3.852, allocations: 0 / 1.824 GB, free: 9.156 MB / 1.373 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005971/3.858, allocations: 1.154 MB / 1.825 GB, free: 7.98 MB / 1.373 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00269/3.861, allocations: 47.94 kB / 1.825 GB, free: 7.934 MB / 1.373 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007192/3.868, allocations: 443.3 kB / 1.825 GB, free: 7.5 MB / 1.373 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008219/3.869, allocations: 132.8 kB / 1.826 GB, free: 7.371 MB / 1.373 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02707/3.896, allocations: 5.766 MB / 1.831 GB, free: 1.598 MB / 1.373 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03016/3.926, allocations: 8.454 MB / 1.839 GB, free: 9.125 MB / 1.389 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.009067/3.936, allocations: 2.495 MB / 1.842 GB, free: 6.629 MB / 1.389 GB Notification: Performance of sorting global known variables: time 0.01079/3.946, allocations: 3.52 MB / 1.845 GB, free: 3.129 MB / 1.389 GB Notification: Performance of Backend: time 2.354e-06/3.946, allocations: 0 / 1.845 GB, free: 3.129 MB / 1.389 GB Notification: Performance of simCode: created initialization part: time 0.03573/3.982, allocations: 8.839 MB / 1.854 GB, free: 10.28 MB / 1.404 GB Notification: Performance of SimCode: time 0.02172/4.004, allocations: 7.86 MB / 1.862 GB, free: 2.422 MB / 1.404 GB Notification: Performance of Templates: time 0.1935/4.198, allocations: 119.4 MB / 1.978 GB, free: 11.94 MB / 1.529 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