Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001338/0.001338, allocations: 110.7 kB / 16.42 MB, free: 6.516 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.00144/0.00144, allocations: 192.3 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.446/1.446, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.775/2.775, allocations: 437 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 59.91 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.378/1.38, allocations: 151.6 MB / 1.167 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.SingleSpeed): time 0.364/1.744, allocations: 305.8 MB / 1.466 GB, free: 0.9219 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.04683/1.791, allocations: 28.41 MB / 1.494 GB, free: 4.434 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008688/1.8, allocations: 83.56 kB / 1.494 GB, free: 4.352 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.009588/1.81, allocations: 1.743 MB / 1.495 GB, free: 2.598 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.01786/1.828, allocations: 3.787 MB / 1.499 GB, free: 14.79 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.01323/1.841, allocations: 4.077 MB / 1.503 GB, free: 10.75 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.01372/1.855, allocations: 7.071 MB / 1.51 GB, free: 3.652 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008126/1.863, allocations: 2.901 MB / 1.513 GB, free: 0.6836 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01039/1.873, allocations: 3.005 MB / 1.516 GB, free: 13.68 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005973/1.879, allocations: 2.293 MB / 1.518 GB, free: 11.39 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.002771/1.882, allocations: 0.5352 MB / 1.519 GB, free: 10.86 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01385/1.896, allocations: 4.289 MB / 1.523 GB, free: 6.559 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.003996/1.9, allocations: 1.442 MB / 1.524 GB, free: 5.113 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.007151/1.907, allocations: 2.377 MB / 1.526 GB, free: 2.727 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.02285/1.93, allocations: 10.16 MB / 1.536 GB, free: 8.539 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 1.124e-05/1.93, allocations: 0 / 1.536 GB, free: 8.539 MB / 1.264 GB Notification: Performance of FrontEnd: time 3.046e-06/1.93, allocations: 0 / 1.536 GB, free: 8.539 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.0002757/1.93, allocations: 0 / 1.536 GB, free: 8.539 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.02363/1.954, allocations: 5.042 MB / 1.541 GB, free: 3.375 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 0.000112/1.954, allocations: 12.92 kB / 1.541 GB, free: 3.363 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02576/1.98, allocations: 2.714 MB / 1.544 GB, free: 0.6406 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01312/1.993, allocations: 4.167 MB / 1.548 GB, free: 12.41 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009012/1.994, allocations: 399.3 kB / 1.548 GB, free: 11.98 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001317/1.996, allocations: 175.9 kB / 1.549 GB, free: 11.81 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01625/2.012, allocations: 4.019 MB / 1.553 GB, free: 7.738 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.855e-05/2.012, allocations: 0 / 1.553 GB, free: 7.738 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009695/2.013, allocations: 60 kB / 1.553 GB, free: 7.68 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001032/2.013, allocations: 67.08 kB / 1.553 GB, free: 7.613 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02105/2.034, allocations: 5.161 MB / 1.558 GB, free: 2.445 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 1.147/3.181, allocations: 15.76 MB / 1.573 GB, free: 377.4 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02198/3.203, allocations: 4.855 MB / 1.578 GB, free: 375.6 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008575/3.212, allocations: 2.384 MB / 1.58 GB, free: 374.4 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001243/3.213, allocations: 1.325 MB / 1.581 GB, free: 372.8 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01016/3.224, allocations: 2.813 MB / 1.584 GB, free: 371.3 MB / 1.279 GB Notification: Performance of pre-optimization done (n=118): time 8.767e-06/3.224, allocations: 0 / 1.584 GB, free: 371.3 MB / 1.279 GB Notification: Performance of matching and sorting (n=118): time 0.05548/3.279, allocations: 9.722 MB / 1.594 GB, free: 362.3 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.059e-05/3.279, allocations: 72.41 kB / 1.594 GB, free: 362.2 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01117/3.29, allocations: 4.857 MB / 1.599 GB, free: 357.4 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.001077/3.292, allocations: 69.69 kB / 1.599 GB, free: 357.3 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.002106/3.294, allocations: 1.464 MB / 1.6 GB, free: 355.9 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.001014/3.295, allocations: 393.3 kB / 1.6 GB, free: 355.6 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002127/3.297, allocations: 392 kB / 1.601 GB, free: 355.2 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001309/3.297, allocations: 361.9 kB / 1.601 GB, free: 354.8 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008321/3.305, allocations: 2.754 MB / 1.604 GB, free: 352 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008759/3.314, allocations: 3.044 MB / 1.607 GB, free: 348.9 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1186/3.433, allocations: 43.26 MB / 1.649 GB, free: 305.6 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.668e-05/3.433, allocations: 8 kB / 1.649 GB, free: 305.6 MB / 1.279 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.04122/3.474, allocations: 8.072 MB / 1.657 GB, free: 297.4 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001549/3.474, allocations: 114.6 kB / 1.657 GB, free: 297.3 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.797e-05/3.474, allocations: 4 kB / 1.657 GB, free: 297.3 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003747/3.478, allocations: 0.9994 MB / 1.658 GB, free: 296.3 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004984/3.483, allocations: 0.6045 MB / 1.659 GB, free: 295.7 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008754/3.492, allocations: 7.5 MB / 1.666 GB, free: 287.7 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006581/3.498, allocations: 0.545 MB / 1.666 GB, free: 287.2 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008411/3.499, allocations: 103.8 kB / 1.667 GB, free: 287.1 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.01146/3.511, allocations: 3.905 MB / 1.67 GB, free: 283.1 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008834/3.52, allocations: 3.04 MB / 1.673 GB, free: 280 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1187/3.638, allocations: 43.18 MB / 1.715 GB, free: 236.7 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.074e-05/3.638, allocations: 3.938 kB / 1.715 GB, free: 236.7 MB / 1.279 GB Notification: Performance of matching and sorting (n=173) (initialization_lambda0): time 0.04193/3.68, allocations: 7.999 MB / 1.723 GB, free: 228.6 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001395/3.68, allocations: 117 kB / 1.723 GB, free: 228.5 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/3.68, allocations: 4 kB / 1.723 GB, free: 228.5 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003275/3.684, allocations: 0.9488 MB / 1.724 GB, free: 227.5 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0046/3.688, allocations: 0.6045 MB / 1.725 GB, free: 226.9 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007314/3.696, allocations: 7.048 MB / 1.732 GB, free: 219.4 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006575/3.702, allocations: 0.5148 MB / 1.732 GB, free: 218.9 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007833/3.703, allocations: 95.88 kB / 1.732 GB, free: 218.8 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: 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.001312/3.704, allocations: 283.9 kB / 1.733 GB, free: 218.5 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001668/3.706, allocations: 331.9 kB / 1.733 GB, free: 218.2 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03638/3.743, allocations: 6.88 MB / 1.74 GB, free: 211.3 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.408e-05/3.743, allocations: 11.97 kB / 1.74 GB, free: 211.3 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/3.743, allocations: 0 / 1.74 GB, free: 211.3 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0041/3.747, allocations: 1.102 MB / 1.741 GB, free: 210.2 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00187/3.749, allocations: 35.94 kB / 1.741 GB, free: 210.1 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00593/3.755, allocations: 435.4 kB / 1.741 GB, free: 209.7 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000595/3.755, allocations: 136.8 kB / 1.741 GB, free: 209.6 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02325/3.778, allocations: 5.474 MB / 1.747 GB, free: 204.1 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02505/3.804, allocations: 8.091 MB / 1.755 GB, free: 196 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0075/3.811, allocations: 2.404 MB / 1.757 GB, free: 193.6 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.00723/3.818, allocations: 3.44 MB / 1.76 GB, free: 190.2 MB / 1.279 GB Notification: Performance of Backend: time 1.854e-06/3.818, allocations: 0 / 1.76 GB, free: 190.2 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.0287/3.847, allocations: 8.463 MB / 1.769 GB, free: 181.7 MB / 1.279 GB Notification: Performance of SimCode: time 0.01669/3.864, allocations: 7.529 MB / 1.776 GB, free: 174.2 MB / 1.279 GB Notification: Performance of Templates: time 0.1476/4.012, allocations: 115 MB / 1.888 GB, free: 59.64 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.SingleSpeed.makefile (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.SingleSpeed.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.SingleSpeed.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.SingleSpeed.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.SingleSpeed.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.SingleSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.SingleSpeed.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.SingleSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_WaterSource_Examples_SingleSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.SingleSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches