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.001609/0.001609, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.002375/0.002375, allocations: 183.9 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.431/1.431, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.699/2.699, allocations: 469.4 MB / 0.7428 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001633/0.001633, allocations: 64.12 kB / 1.066 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.052/1.054, allocations: 159.1 MB / 1.221 GB, free: 2.355 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.SingleSpeed): time 0.3409/1.395, allocations: 305.8 MB / 1.52 GB, free: 15.46 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.04045/1.435, allocations: 28.42 MB / 1.547 GB, free: 2.969 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005414/1.441, allocations: 79.56 kB / 1.547 GB, free: 2.891 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.006099/1.447, allocations: 1.751 MB / 1.549 GB, free: 1.129 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.01572/1.463, allocations: 3.779 MB / 1.553 GB, free: 13.33 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.01234/1.475, allocations: 4.09 MB / 1.557 GB, free: 9.277 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.0155/1.491, allocations: 7.07 MB / 1.564 GB, free: 2.188 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 1.127/2.618, allocations: 2.891 MB / 1.566 GB, free: 90.81 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00925/2.627, allocations: 2.991 MB / 1.569 GB, free: 90.81 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006317/2.634, allocations: 2.301 MB / 1.572 GB, free: 90.81 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.002177/2.636, allocations: 0.5356 MB / 1.572 GB, free: 90.81 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01239/2.648, allocations: 4.295 MB / 1.576 GB, free: 90.81 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.003482/2.652, allocations: 1.442 MB / 1.578 GB, free: 90.81 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.007819/2.66, allocations: 2.365 MB / 1.58 GB, free: 90.75 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.02377/2.683, allocations: 10.17 MB / 1.59 GB, free: 90.07 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 9.397e-06/2.684, allocations: 0 / 1.59 GB, free: 90.07 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.703e-06/2.684, allocations: 0 / 1.59 GB, free: 90.07 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0002843/2.684, allocations: 0.8125 kB / 1.59 GB, free: 90.07 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.02009/2.704, allocations: 5.044 MB / 1.595 GB, free: 87.74 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.702e-05/2.704, allocations: 7.938 kB / 1.595 GB, free: 87.74 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02464/2.729, allocations: 2.715 MB / 1.598 GB, free: 87.53 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01156/2.74, allocations: 4.17 MB / 1.602 GB, free: 86.78 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005676/2.741, allocations: 384.9 kB / 1.602 GB, free: 86.56 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009184/2.742, allocations: 173.5 kB / 1.602 GB, free: 86.56 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01364/2.755, allocations: 4.017 MB / 1.606 GB, free: 86.39 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.321e-05/2.756, allocations: 0.8125 kB / 1.606 GB, free: 86.39 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003439/2.756, allocations: 64.25 kB / 1.606 GB, free: 86.39 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.307e-05/2.756, allocations: 64.45 kB / 1.606 GB, free: 86.39 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01869/2.775, allocations: 5.161 MB / 1.611 GB, free: 86.38 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.03713/2.812, allocations: 15.77 MB / 1.627 GB, free: 83.82 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02093/2.833, allocations: 4.856 MB / 1.631 GB, free: 83.62 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00828/2.841, allocations: 2.384 MB / 1.634 GB, free: 83.57 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001017/2.842, allocations: 1.326 MB / 1.635 GB, free: 82.07 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01025/2.852, allocations: 2.807 MB / 1.638 GB, free: 81.98 MB / 1.279 GB Notification: Performance of pre-optimization done (n=118): time 7.794e-06/2.853, allocations: 1.188 kB / 1.638 GB, free: 81.98 MB / 1.279 GB Notification: Performance of matching and sorting (n=118): time 0.06024/2.913, allocations: 9.73 MB / 1.647 GB, free: 81.18 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.048e-05/2.913, allocations: 68.94 kB / 1.647 GB, free: 81.12 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01262/2.926, allocations: 4.865 MB / 1.652 GB, free: 80.11 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.001139/2.927, allocations: 69.73 kB / 1.652 GB, free: 80.08 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.001698/2.928, allocations: 1.458 MB / 1.654 GB, free: 79.66 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008261/2.929, allocations: 395.6 kB / 1.654 GB, free: 79.38 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009741/2.93, allocations: 397.6 kB / 1.654 GB, free: 79.27 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001091/2.93, allocations: 359.8 kB / 1.655 GB, free: 78.95 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008682/2.939, allocations: 2.751 MB / 1.657 GB, free: 78.36 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008865/2.948, allocations: 3.054 MB / 1.66 GB, free: 76.77 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1172/3.065, allocations: 43.24 MB / 1.703 GB, free: 40.65 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.63e-05/3.065, allocations: 0 / 1.703 GB, free: 40.65 MB / 1.279 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.03961/3.105, allocations: 8.075 MB / 1.71 GB, free: 32.57 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001772/3.105, allocations: 119.4 kB / 1.711 GB, free: 32.44 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.851e-05/3.105, allocations: 4 kB / 1.711 GB, free: 32.44 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003593/3.109, allocations: 0.9993 MB / 1.712 GB, free: 31.43 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004791/3.113, allocations: 0.6044 MB / 1.712 GB, free: 30.84 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00821/3.122, allocations: 7.502 MB / 1.719 GB, free: 22.89 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007327/3.129, allocations: 0.5526 MB / 1.72 GB, free: 22.34 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009258/3.13, allocations: 103.8 kB / 1.72 GB, free: 22.23 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.01136/3.141, allocations: 3.894 MB / 1.724 GB, free: 18.34 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008946/3.15, allocations: 3.04 MB / 1.727 GB, free: 15.22 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1292/3.28, allocations: 43.17 MB / 1.769 GB, free: 3.914 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.336e-05/3.28, allocations: 4 kB / 1.769 GB, free: 3.91 MB / 1.311 GB Notification: Performance of matching and sorting (n=173) (initialization_lambda0): time 0.04432/3.324, allocations: 8.009 MB / 1.777 GB, free: 11.89 MB / 1.326 GB Notification: Performance of prepare postOptimizeDAE: time 0.000191/3.324, allocations: 121 kB / 1.777 GB, free: 11.76 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/3.324, allocations: 4 kB / 1.777 GB, free: 11.75 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003818/3.328, allocations: 0.9485 MB / 1.778 GB, free: 10.79 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005036/3.333, allocations: 0.6044 MB / 1.779 GB, free: 10.2 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009922/3.343, allocations: 7.041 MB / 1.785 GB, free: 2.723 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00748/3.351, allocations: 0.5102 MB / 1.786 GB, free: 2.211 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009108/3.352, allocations: 99.89 kB / 1.786 GB, free: 2.113 MB / 1.326 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.001632/3.353, allocations: 287.9 kB / 1.786 GB, free: 1.84 MB / 1.326 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002143/3.355, allocations: 335.8 kB / 1.787 GB, free: 1.508 MB / 1.326 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03988/3.395, allocations: 6.876 MB / 1.793 GB, free: 10.64 MB / 1.342 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-05/3.395, allocations: 3.984 kB / 1.793 GB, free: 10.64 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/3.395, allocations: 4 kB / 1.793 GB, free: 10.64 MB / 1.342 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004199/3.4, allocations: 1.102 MB / 1.794 GB, free: 9.512 MB / 1.342 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002075/3.402, allocations: 43.92 kB / 1.794 GB, free: 9.469 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00643/3.408, allocations: 435.4 kB / 1.795 GB, free: 9.043 MB / 1.342 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006078/3.409, allocations: 124.8 kB / 1.795 GB, free: 8.918 MB / 1.342 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02504/3.434, allocations: 5.488 MB / 1.8 GB, free: 3.438 MB / 1.342 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02838/3.462, allocations: 8.084 MB / 1.808 GB, free: 11.33 MB / 1.357 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.008676/3.471, allocations: 2.401 MB / 1.811 GB, free: 8.926 MB / 1.357 GB Notification: Performance of sorting global known variables: time 0.009213/3.48, allocations: 3.444 MB / 1.814 GB, free: 5.5 MB / 1.357 GB Notification: Performance of Backend: time 1.332e-06/3.48, allocations: 3.938 kB / 1.814 GB, free: 5.496 MB / 1.357 GB Notification: Performance of simCode: created initialization part: time 0.03498/3.515, allocations: 8.453 MB / 1.822 GB, free: 13.04 MB / 1.373 GB Notification: Performance of SimCode: time 0.02067/3.536, allocations: 7.544 MB / 1.83 GB, free: 5.523 MB / 1.373 GB Notification: Performance of Templates: time 0.1915/3.727, allocations: 114.9 MB / 1.942 GB, free: 3.469 MB / 1.482 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