Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.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.BaseClasses.Examples.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooCap.TConIn|cooCap.TEvaIn|cooCap.m_flow|cooCap.Q_flow.1.|cooCap.EIR.1.",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooCap.TConIn|cooCap.TEvaIn|cooCap.m_flow|cooCap.Q_flow.1.|cooCap.EIR.1.",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001308, allocations: 115.5 kB / 16.42 MB, free: 5.988 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.001429/0.001429, allocations: 184.5 kB / 17.35 MB, free: 5.602 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.47/1.47, allocations: 222.9 MB / 241.1 MB, free: 15.17 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.539/2.539, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 67.91 kB / 1.019 GB, free: 9.367 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8261/0.8275, allocations: 151.6 MB / 1.167 GB, free: 3.945 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.006067/0.8336, allocations: 2.883 MB / 1.17 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003906/0.8376, allocations: 2.22 MB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002787/0.8379, allocations: 0 / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001013/0.8389, allocations: 266.4 kB / 1.173 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0003357/0.8393, allocations: 75.23 kB / 1.173 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001457/0.8408, allocations: 485.8 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0008004/0.8416, allocations: 0.5152 MB / 1.174 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.8418, allocations: 52.72 kB / 1.174 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003475/0.8421, allocations: 207.3 kB / 1.174 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003417/0.8425, allocations: 207.3 kB / 1.174 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001117/0.8426, allocations: 36 kB / 1.174 GB, free: 13 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004972/0.8431, allocations: 255.7 kB / 1.174 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002157/0.8433, allocations: 163.6 kB / 1.174 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003214/0.8437, allocations: 214.9 kB / 1.175 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001097/0.8448, allocations: 0.7536 MB / 1.175 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.8448, allocations: 0 / 1.175 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.234e-06/0.8448, allocations: 0 / 1.175 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.182e-05/0.8448, allocations: 0 / 1.175 GB, free: 11.63 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001856/0.8467, allocations: 0.8399 MB / 1.176 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.8467, allocations: 12.88 kB / 1.176 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002245/0.849, allocations: 228.1 kB / 1.176 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007343/0.8497, allocations: 430 kB / 1.177 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001282/0.8499, allocations: 83.89 kB / 1.177 GB, free: 9.938 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.05e-05/0.8499, allocations: 16.36 kB / 1.177 GB, free: 9.922 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001359/0.8513, allocations: 0.5308 MB / 1.178 GB, free: 9.387 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.8513, allocations: 0 / 1.178 GB, free: 9.387 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.477e-05/0.8514, allocations: 8 kB / 1.178 GB, free: 9.379 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.8514, allocations: 4 kB / 1.178 GB, free: 9.375 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002111/0.8535, allocations: 0.7533 MB / 1.178 GB, free: 8.621 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002491/0.856, allocations: 1.276 MB / 1.18 GB, free: 7.293 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005484/0.8615, allocations: 1.009 MB / 1.18 GB, free: 6.273 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001088/0.8626, allocations: 406.2 kB / 1.181 GB, free: 5.875 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.817e-05/0.8627, allocations: 4 kB / 1.181 GB, free: 5.871 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001295/0.864, allocations: 0.532 MB / 1.181 GB, free: 5.328 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=21): time 3.115e-06/0.864, allocations: 0 / 1.181 GB, free: 5.328 MB / 0.9044 GB Notification: Performance of matching and sorting (n=21): time 0.003332/0.8673, allocations: 1.177 MB / 1.183 GB, free: 4.145 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.8674, allocations: 55.39 kB / 1.183 GB, free: 4.078 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006918/0.8681, allocations: 0.5252 MB / 1.183 GB, free: 3.543 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 9.156e-05/0.8682, allocations: 33.7 kB / 1.183 GB, free: 3.504 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001868/0.8684, allocations: 204.4 kB / 1.183 GB, free: 3.301 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 9.774e-05/0.8685, allocations: 67.08 kB / 1.183 GB, free: 3.234 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001767/0.8687, allocations: 61.67 kB / 1.183 GB, free: 3.168 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.8688, allocations: 362.8 kB / 1.184 GB, free: 2.805 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001196/0.87, allocations: 468.5 kB / 1.184 GB, free: 2.344 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/0.8712, allocations: 497.4 kB / 1.185 GB, free: 1.852 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001976/0.8732, allocations: 0.7541 MB / 1.185 GB, free: 1.09 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.8732, allocations: 4 kB / 1.185 GB, free: 1.086 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002496/0.8757, allocations: 1.082 MB / 1.187 GB, free: 15.98 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.812e-05/0.8758, allocations: 37.69 kB / 1.187 GB, free: 15.94 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.8758, allocations: 0 / 1.187 GB, free: 15.94 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/0.8758, allocations: 11.94 kB / 1.187 GB, free: 15.93 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006353/0.8765, allocations: 83.89 kB / 1.187 GB, free: 15.85 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.589e-05/0.8765, allocations: 7.984 kB / 1.187 GB, free: 15.84 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000568/0.8771, allocations: 55.94 kB / 1.187 GB, free: 15.79 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.517e-05/0.8771, allocations: 15.81 kB / 1.187 GB, free: 15.77 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (cooCap.checkBoundsTCon[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTEva[1],cooCap.stage,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003365/0.8775, allocations: 218.5 kB / 1.187 GB, free: 15.55 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.8776, allocations: 43.44 kB / 1.187 GB, free: 15.51 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.8777, allocations: 51.91 kB / 1.187 GB, free: 15.46 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.8777, allocations: 3.938 kB / 1.187 GB, free: 15.45 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.8777, allocations: 0 / 1.187 GB, free: 15.45 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002944/0.878, allocations: 192.4 kB / 1.187 GB, free: 15.25 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.859e-05/0.8781, allocations: 11.98 kB / 1.187 GB, free: 15.23 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005796/0.8787, allocations: 63.92 kB / 1.187 GB, free: 15.17 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.8788, allocations: 19.97 kB / 1.187 GB, free: 15.15 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002623/0.8815, allocations: 0.9191 MB / 1.188 GB, free: 14.23 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002263/0.8837, allocations: 0.9876 MB / 1.189 GB, free: 13.22 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001043/0.8848, allocations: 406.1 kB / 1.19 GB, free: 12.83 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.000491/0.8853, allocations: 395.1 kB / 1.19 GB, free: 12.45 MB / 0.92 GB Notification: Performance of Backend: time 6.02e-07/0.8853, allocations: 0 / 1.19 GB, free: 12.45 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001978/0.8873, allocations: 0.681 MB / 1.191 GB, free: 11.75 MB / 0.92 GB Notification: Performance of SimCode: time 0.001497/0.8888, allocations: 1.181 MB / 1.192 GB, free: 10.52 MB / 0.92 GB Notification: Performance of Templates: time 0.01986/0.9087, allocations: 10.92 MB / 1.202 GB, free: 15.67 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches