Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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_11_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_11_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.001335/0.001335, allocations: 116.6 kB / 16.81 MB, free: 5.754 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.001282/0.001282, allocations: 199.1 kB / 17.77 MB, free: 5.125 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.484/1.484, allocations: 225.6 MB / 244.2 MB, free: 13.88 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.799/2.799, allocations: 476.7 MB / 0.7556 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 68.06 kB / 1.097 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4211/0.4231, allocations: 168.7 MB / 1.262 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.SingleSpeed): time 1.382/1.805, allocations: 307 MB / 1.562 GB, free: 86.09 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.04106/1.846, allocations: 28.49 MB / 1.59 GB, free: 85.86 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005851/1.852, allocations: 82.34 kB / 1.59 GB, free: 85.86 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.006438/1.858, allocations: 1.758 MB / 1.592 GB, free: 85.83 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.01423/1.872, allocations: 3.788 MB / 1.595 GB, free: 85.71 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.01405/1.886, allocations: 4.126 MB / 1.599 GB, free: 85.59 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.0176/1.904, allocations: 7.068 MB / 1.606 GB, free: 85.57 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006326/1.91, allocations: 2.312 MB / 1.608 GB, free: 85.35 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01026/1.92, allocations: 3.012 MB / 1.611 GB, free: 85.33 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006187/1.927, allocations: 2.382 MB / 1.614 GB, free: 85.23 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.002422/1.929, allocations: 0.5344 MB / 1.614 GB, free: 85.23 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01275/1.942, allocations: 4.449 MB / 1.619 GB, free: 85.18 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.002898/1.945, allocations: 1.469 MB / 1.62 GB, free: 85.01 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.006354/1.951, allocations: 2.368 MB / 1.622 GB, free: 84.44 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.02104/1.972, allocations: 10.19 MB / 1.632 GB, free: 82.86 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/1.972, allocations: 0.7188 kB / 1.632 GB, free: 82.86 MB / 1.264 GB Notification: Performance of FrontEnd: time 2.053e-06/1.972, allocations: 0.6875 kB / 1.632 GB, free: 82.86 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.0002711/1.972, allocations: 0 / 1.632 GB, free: 82.86 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: 402 * Number of variables: 402 Notification: Performance of Generate backend data structure: time 0.02441/1.997, allocations: 5.189 MB / 1.637 GB, free: 79.6 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 7.017e-05/1.997, allocations: 8.438 kB / 1.637 GB, free: 79.6 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02426/2.021, allocations: 2.742 MB / 1.64 GB, free: 79.34 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01144/2.033, allocations: 4.205 MB / 1.644 GB, free: 77.05 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007302/2.033, allocations: 382.6 kB / 1.644 GB, free: 76.76 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001229/2.035, allocations: 180.5 kB / 1.645 GB, free: 76.7 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01483/2.049, allocations: 4.02 MB / 1.649 GB, free: 75.21 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.533e-05/2.049, allocations: 0 / 1.649 GB, free: 75.21 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000442/2.05, allocations: 63.53 kB / 1.649 GB, free: 75.16 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.59e-05/2.05, allocations: 57.19 kB / 1.649 GB, free: 75.16 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01797/2.068, allocations: 5.17 MB / 1.654 GB, free: 72.47 MB / 1.264 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.0396/2.108, allocations: 15.79 MB / 1.669 GB, free: 60.84 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02107/2.129, allocations: 4.759 MB / 1.674 GB, free: 58.34 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008602/2.137, allocations: 2.319 MB / 1.676 GB, free: 57.12 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001224/2.138, allocations: 1.329 MB / 1.677 GB, free: 55.57 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009462/2.148, allocations: 2.807 MB / 1.68 GB, free: 53.96 MB / 1.264 GB Notification: Performance of pre-optimization done (n=118): time 6.913e-06/2.148, allocations: 0 / 1.68 GB, free: 53.96 MB / 1.264 GB Notification: Performance of matching and sorting (n=118): time 0.05267/2.201, allocations: 9.735 MB / 1.69 GB, free: 46.41 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.745e-05/2.201, allocations: 72.41 kB / 1.69 GB, free: 46.32 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01192/2.213, allocations: 4.854 MB / 1.694 GB, free: 41.48 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.001052/2.214, allocations: 75.8 kB / 1.695 GB, free: 41.41 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.002495/2.216, allocations: 1.472 MB / 1.696 GB, free: 39.93 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.001073/2.217, allocations: 414.2 kB / 1.696 GB, free: 39.53 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002278/2.219, allocations: 395.2 kB / 1.697 GB, free: 39.14 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001534/2.22, allocations: 365.8 kB / 1.697 GB, free: 38.78 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0084/2.228, allocations: 2.75 MB / 1.7 GB, free: 36.02 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008991/2.237, allocations: 3.048 MB / 1.703 GB, free: 32.9 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1253/2.362, allocations: 43.26 MB / 1.745 GB, free: 5.5 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.888e-05/2.362, allocations: 4 kB / 1.745 GB, free: 5.496 MB / 1.279 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.04538/2.408, allocations: 8.076 MB / 1.753 GB, free: 13.42 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002555/2.408, allocations: 113.1 kB / 1.753 GB, free: 13.29 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.079e-05/2.408, allocations: 11.92 kB / 1.753 GB, free: 13.28 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00432/2.412, allocations: 0.9942 MB / 1.754 GB, free: 12.27 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005044/2.417, allocations: 0.6079 MB / 1.755 GB, free: 11.68 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01223/2.43, allocations: 7.506 MB / 1.762 GB, free: 3.719 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007462/2.437, allocations: 0.553 MB / 1.762 GB, free: 3.164 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009687/2.438, allocations: 102.1 kB / 1.763 GB, free: 3.066 MB / 1.295 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.01435/2.452, allocations: 3.895 MB / 1.766 GB, free: 15.16 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01076/2.463, allocations: 3.04 MB / 1.769 GB, free: 12.05 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1393/2.602, allocations: 43.18 MB / 1.811 GB, free: 0.7383 MB / 1.342 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.23e-06/2.602, allocations: 0 / 1.811 GB, free: 0.7383 MB / 1.342 GB Notification: Performance of matching and sorting (n=173) (initialization_lambda0): time 0.04184/2.644, allocations: 8.021 MB / 1.819 GB, free: 8.715 MB / 1.357 GB Notification: Performance of prepare postOptimizeDAE: time 0.000215/2.645, allocations: 117.1 kB / 1.819 GB, free: 8.582 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/2.645, allocations: 4 kB / 1.819 GB, free: 8.578 MB / 1.357 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003668/2.648, allocations: 0.9474 MB / 1.82 GB, free: 7.617 MB / 1.357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004863/2.653, allocations: 0.604 MB / 1.821 GB, free: 7.027 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009862/2.663, allocations: 7.041 MB / 1.828 GB, free: 15.54 MB / 1.373 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007274/2.67, allocations: 0.5182 MB / 1.828 GB, free: 15.02 MB / 1.373 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008307/2.671, allocations: 99.88 kB / 1.828 GB, free: 14.92 MB / 1.373 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.0009472/2.672, allocations: 274.5 kB / 1.829 GB, free: 14.66 MB / 1.373 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001798/2.674, allocations: 357.6 kB / 1.829 GB, free: 14.31 MB / 1.373 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03802/2.712, allocations: 6.864 MB / 1.836 GB, free: 7.441 MB / 1.373 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.224e-05/2.712, allocations: 7.969 kB / 1.836 GB, free: 7.434 MB / 1.373 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/2.712, allocations: 48 / 1.836 GB, free: 7.434 MB / 1.373 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00402/2.716, allocations: 1.131 MB / 1.837 GB, free: 6.281 MB / 1.373 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001289/2.717, allocations: 32 kB / 1.837 GB, free: 6.25 MB / 1.373 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005608/2.723, allocations: 443.3 kB / 1.837 GB, free: 5.816 MB / 1.373 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004264/2.723, allocations: 128.8 kB / 1.837 GB, free: 5.691 MB / 1.373 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0238/2.747, allocations: 5.487 MB / 1.843 GB, free: 216 kB / 1.373 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02834/2.775, allocations: 8.108 MB / 1.851 GB, free: 8.09 MB / 1.389 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.008757/2.784, allocations: 2.35 MB / 1.853 GB, free: 5.738 MB / 1.389 GB Notification: Performance of sorting global known variables: time 0.009847/2.794, allocations: 3.432 MB / 1.856 GB, free: 2.324 MB / 1.389 GB Notification: Performance of Backend: time 1.113e-06/2.794, allocations: 3.938 kB / 1.856 GB, free: 2.32 MB / 1.389 GB Notification: Performance of simCode: created initialization part: time 0.03464/2.829, allocations: 8.286 MB / 1.864 GB, free: 10.03 MB / 1.404 GB Notification: Performance of SimCode: time 0.02015/2.849, allocations: 7.657 MB / 1.872 GB, free: 2.371 MB / 1.404 GB Notification: Performance of Templates: time 0.1959/3.045, allocations: 116.3 MB / 1.986 GB, free: 14.79 MB / 1.529 GB make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.SingleSpeed.makefile (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.SingleSpeed.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.SingleSpeed.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.SingleSpeed.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.SingleSpeed.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.SingleSpeed -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.SingleSpeed.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.SingleSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_WaterSource_Examples_SingleSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.SingleSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches