Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.SingleSpeed.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.SingleSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sinSpeDX.eva.vol.T|sinSpeDX.sta_a1.T|sinSpeDX.sta_a2.T|sinSpeDX.sta_b2.T|sinSpeDX.sta_a1.X.1.|sinSpeDX.eva.vol.X_w|sinSpeDX.eva.dxCoi.mWat_flow|onOff.y|sinSpeDX.P|sinSpeDX.eva.dxCoi.Q_flow|sinSpeDX.watCooCon.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.SingleSpeed") translateModel(Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.SingleSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sinSpeDX.eva.vol.T|sinSpeDX.sta_a1.T|sinSpeDX.sta_a2.T|sinSpeDX.sta_b2.T|sinSpeDX.sta_a1.X.1.|sinSpeDX.eva.vol.X_w|sinSpeDX.eva.dxCoi.mWat_flow|onOff.y|sinSpeDX.P|sinSpeDX.eva.dxCoi.Q_flow|sinSpeDX.watCooCon.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.SingleSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 112.7 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.001439/0.001439, allocations: 190.7 kB / 17.35 MB, free: 5.734 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.485/1.485, 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.68/2.68, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 63.89 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.194/1.196, allocations: 157.4 MB / 1.208 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.SingleSpeed): time 0.3677/1.564, allocations: 305.8 MB / 1.507 GB, free: 10.86 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.04918/1.613, allocations: 28.41 MB / 1.535 GB, free: 14.38 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006603/1.619, allocations: 79.56 kB / 1.535 GB, free: 14.3 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.006741/1.626, allocations: 1.72 MB / 1.537 GB, free: 12.57 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.01726/1.644, allocations: 3.611 MB / 1.54 GB, free: 8.945 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.01507/1.659, allocations: 4.051 MB / 1.544 GB, free: 4.926 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.01274/1.671, allocations: 7.073 MB / 1.551 GB, free: 13.84 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00655/1.678, allocations: 2.893 MB / 1.554 GB, free: 10.88 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008672/1.687, allocations: 2.992 MB / 1.557 GB, free: 7.898 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005091/1.692, allocations: 2.284 MB / 1.559 GB, free: 5.609 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.002214/1.694, allocations: 0.5352 MB / 1.559 GB, free: 5.074 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01127/1.705, allocations: 4.273 MB / 1.564 GB, free: 0.793 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.9921/2.697, allocations: 1.444 MB / 1.565 GB, free: 99.18 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.006664/2.704, allocations: 2.366 MB / 1.567 GB, free: 99.18 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.0223/2.726, allocations: 10.16 MB / 1.577 GB, free: 99.03 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/2.727, allocations: 0 / 1.577 GB, free: 99.03 MB / 1.279 GB Notification: Performance of FrontEnd: time 3.026e-06/2.727, allocations: 0 / 1.577 GB, free: 99.03 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0003096/2.727, allocations: 1.625 kB / 1.577 GB, free: 99.03 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: 402 * Number of variables: 402 Notification: Performance of Generate backend data structure: time 0.01902/2.746, allocations: 5.043 MB / 1.582 GB, free: 96.82 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/2.746, allocations: 8.844 kB / 1.582 GB, free: 96.82 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02446/2.77, allocations: 2.722 MB / 1.585 GB, free: 96.61 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009912/2.78, allocations: 4.172 MB / 1.589 GB, free: 95.86 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004609/2.781, allocations: 378.6 kB / 1.589 GB, free: 95.64 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006943/2.782, allocations: 179.5 kB / 1.589 GB, free: 95.64 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01296/2.795, allocations: 4.018 MB / 1.593 GB, free: 95.47 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.785e-05/2.795, allocations: 0 / 1.593 GB, free: 95.47 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003291/2.795, allocations: 63.19 kB / 1.593 GB, free: 95.47 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.323e-05/2.795, allocations: 65.41 kB / 1.594 GB, free: 95.46 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01809/2.813, allocations: 5.158 MB / 1.599 GB, free: 95.45 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.03359/2.847, allocations: 15.77 MB / 1.614 GB, free: 92.9 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02042/2.867, allocations: 4.847 MB / 1.619 GB, free: 92.71 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007939/2.875, allocations: 2.386 MB / 1.621 GB, free: 92.67 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009631/2.876, allocations: 1.331 MB / 1.622 GB, free: 91.17 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008725/2.885, allocations: 2.799 MB / 1.625 GB, free: 91.07 MB / 1.279 GB Notification: Performance of pre-optimization done (n=118): time 4.618e-06/2.885, allocations: 0 / 1.625 GB, free: 91.07 MB / 1.279 GB Notification: Performance of matching and sorting (n=118): time 0.05131/2.936, allocations: 9.728 MB / 1.635 GB, free: 90.28 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/2.936, allocations: 71.31 kB / 1.635 GB, free: 90.21 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008214/2.945, allocations: 4.858 MB / 1.639 GB, free: 89.96 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.000956/2.946, allocations: 69.58 kB / 1.639 GB, free: 89.93 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.001336/2.947, allocations: 1.467 MB / 1.641 GB, free: 89.64 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005466/2.947, allocations: 391 kB / 1.641 GB, free: 89.39 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008393/2.948, allocations: 400.8 kB / 1.642 GB, free: 89.36 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 7.966e-05/2.948, allocations: 357.8 kB / 1.642 GB, free: 89.06 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008008/2.956, allocations: 2.75 MB / 1.645 GB, free: 88.99 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008418/2.965, allocations: 3.049 MB / 1.648 GB, free: 88.73 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1176/3.083, allocations: 43.26 MB / 1.69 GB, free: 60.48 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.003e-05/3.083, allocations: 4 kB / 1.69 GB, free: 60.48 MB / 1.279 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.03896/3.122, allocations: 8.065 MB / 1.698 GB, free: 52.41 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001424/3.122, allocations: 117.1 kB / 1.698 GB, free: 52.28 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/3.122, allocations: 4 kB / 1.698 GB, free: 52.28 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003514/3.125, allocations: 0.9985 MB / 1.699 GB, free: 51.27 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004673/3.13, allocations: 0.6125 MB / 1.699 GB, free: 50.67 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007665/3.138, allocations: 7.506 MB / 1.707 GB, free: 42.73 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006683/3.144, allocations: 0.5487 MB / 1.707 GB, free: 42.18 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007253/3.145, allocations: 106.3 kB / 1.707 GB, free: 42.07 MB / 1.279 GB Warning: Assuming fixed start value for the following 1 variables: sinSpeDX.eva.watVapEva.off:DISCRETE(fixed = true protected = true ) "Signal, true when component is off" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01074/3.156, allocations: 3.893 MB / 1.711 GB, free: 38.18 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008887/3.165, allocations: 3.051 MB / 1.714 GB, free: 35.05 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.121/3.286, allocations: 43.17 MB / 1.756 GB, free: 7.746 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.215e-06/3.286, allocations: 0 / 1.756 GB, free: 7.746 MB / 1.295 GB Notification: Performance of matching and sorting (n=173) (initialization_lambda0): time 0.04289/3.329, allocations: 7.999 MB / 1.764 GB, free: 15.74 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001698/3.329, allocations: 121 kB / 1.764 GB, free: 15.61 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/3.329, allocations: 4 kB / 1.764 GB, free: 15.6 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003586/3.333, allocations: 0.9479 MB / 1.765 GB, free: 14.64 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00488/3.338, allocations: 0.6045 MB / 1.766 GB, free: 14.05 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009133/3.347, allocations: 7.039 MB / 1.773 GB, free: 6.57 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007218/3.354, allocations: 0.5158 MB / 1.773 GB, free: 6.055 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008566/3.355, allocations: 99.88 kB / 1.773 GB, free: 5.957 MB / 1.311 GB Warning: Assuming fixed start value for the following 1 variables: sinSpeDX.eva.watVapEva.off:DISCRETE(fixed = true protected = true ) "Signal, true when component is off" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 19 (sinSpeDX.eva.i_x,$PRE.sinSpeDX.eva.watVapEva.off,$PRE.sinSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTCon[1],$PRE.sinSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTEva[1],$PRE.sinSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTCon[1],$PRE.sinSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTEva[1],sinSpeDX.eva.watVapEva.off,sinSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTCon[1],sinSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTEva[1],sinSpeDX.eva.dxCoi.dryCoi.coiCap.stage,sinSpeDX.eva.dxCoi.wetCoi.shr.on,sinSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTCon[1],sinSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTEva[1],sinSpeDX.eva.dxCoi.wetCoi.coiCap.stage,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 145 * Array equations: 1 * Algorithm blocks: 3 * 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.001344/3.356, allocations: 283.9 kB / 1.774 GB, free: 5.688 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001813/3.358, allocations: 327.9 kB / 1.774 GB, free: 5.363 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.039/3.397, allocations: 6.876 MB / 1.781 GB, free: 14.5 MB / 1.326 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.34e-05/3.397, allocations: 7.969 kB / 1.781 GB, free: 14.49 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/3.397, allocations: 4 kB / 1.781 GB, free: 14.48 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004381/3.402, allocations: 1.106 MB / 1.782 GB, free: 13.36 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001956/3.403, allocations: 43.03 kB / 1.782 GB, free: 13.32 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006244/3.41, allocations: 439.3 kB / 1.782 GB, free: 12.89 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005738/3.41, allocations: 128.8 kB / 1.782 GB, free: 12.76 MB / 1.326 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02518/3.436, allocations: 5.476 MB / 1.788 GB, free: 7.289 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02818/3.464, allocations: 8.098 MB / 1.795 GB, free: 15.17 MB / 1.342 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.008471/3.472, allocations: 2.397 MB / 1.798 GB, free: 12.78 MB / 1.342 GB Notification: Performance of sorting global known variables: time 0.008558/3.481, allocations: 3.444 MB / 1.801 GB, free: 9.352 MB / 1.342 GB Notification: Performance of Backend: time 6.11e-07/3.481, allocations: 0 / 1.801 GB, free: 9.352 MB / 1.342 GB Notification: Performance of simCode: created initialization part: time 0.03441/3.515, allocations: 8.442 MB / 1.809 GB, free: 0.918 MB / 1.342 GB Notification: Performance of SimCode: time 0.02133/3.537, allocations: 7.548 MB / 1.817 GB, free: 9.398 MB / 1.357 GB Notification: Performance of Templates: time 0.1801/3.717, allocations: 114.9 MB / 1.929 GB, free: 7.359 MB / 1.467 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.SingleSpeed.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.SingleSpeed.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.SingleSpeed.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.SingleSpeed.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.SingleSpeed.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.SingleSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.SingleSpeed.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.SingleSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_WaterSource_Examples_SingleSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.SingleSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches