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: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,fileNamePrefix="Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,fileNamePrefix="Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004718/0.004718, allocations: 101.1 kB / 15.73 MB, free: 6.059 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.001107/0.001107, allocations: 193.1 kB / 16.67 MB, free: 5.973 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.258/1.258, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.293/2.293, allocations: 437 MB / 0.7105 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 67.89 kB / 1.018 GB, free: 9.883 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7531/0.7551, allocations: 151.6 MB / 1.166 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.003894/0.7591, allocations: 2.897 MB / 1.169 GB, free: 0.8672 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002941/0.762, allocations: 2.205 MB / 1.171 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.7622, allocations: 4 kB / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0007184/0.7629, allocations: 268.8 kB / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0001522/0.7631, allocations: 75.22 kB / 1.171 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.7642, allocations: 490.1 kB / 1.172 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0005643/0.7648, allocations: 0.5219 MB / 1.172 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.7649, allocations: 52.72 kB / 1.173 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002242/0.7652, allocations: 203.4 kB / 1.173 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002483/0.7654, allocations: 203.3 kB / 1.173 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.709e-05/0.7655, allocations: 40 kB / 1.173 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004129/0.7659, allocations: 259.6 kB / 1.173 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001728/0.7661, allocations: 159.6 kB / 1.173 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002027/0.7663, allocations: 218.9 kB / 1.174 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0007389/0.7671, allocations: 0.7478 MB / 1.174 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.7671, allocations: 0 / 1.174 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7671, allocations: 0 / 1.174 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.618e-06/0.7671, allocations: 0 / 1.174 GB, free: 11.45 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.001337/0.7684, allocations: 0.8399 MB / 1.175 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.7685, allocations: 8.922 kB / 1.175 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.031e-05/0.7686, allocations: 46.75 kB / 1.175 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002114/0.7707, allocations: 236.1 kB / 1.175 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005242/0.7712, allocations: 418 kB / 1.176 GB, free: 9.801 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001228/0.7714, allocations: 79.94 kB / 1.176 GB, free: 9.711 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.5e-05/0.7714, allocations: 12.38 kB / 1.176 GB, free: 9.699 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/0.7727, allocations: 0.5362 MB / 1.176 GB, free: 9.156 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.7727, allocations: 0 / 1.176 GB, free: 9.156 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.842e-05/0.7727, allocations: 4 kB / 1.176 GB, free: 9.152 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.7727, allocations: 7.984 kB / 1.176 GB, free: 9.145 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002021/0.7748, allocations: 0.7572 MB / 1.177 GB, free: 8.387 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002229/0.777, allocations: 1.276 MB / 1.178 GB, free: 7.059 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005179/0.7822, allocations: 1.017 MB / 1.179 GB, free: 6.031 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009425/0.7832, allocations: 400.6 kB / 1.18 GB, free: 5.637 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.204e-05/0.7832, allocations: 3.984 kB / 1.18 GB, free: 5.633 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001194/0.7844, allocations: 0.5312 MB / 1.18 GB, free: 5.09 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=21): time 2.464e-06/0.7844, allocations: 4 kB / 1.18 GB, free: 5.086 MB / 0.9044 GB Notification: Performance of matching and sorting (n=21): time 0.003048/0.7875, allocations: 1.178 MB / 1.181 GB, free: 3.902 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.7875, allocations: 55.41 kB / 1.181 GB, free: 3.836 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005625/0.7881, allocations: 0.5213 MB / 1.182 GB, free: 3.305 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.509e-05/0.7882, allocations: 33.7 kB / 1.182 GB, free: 3.266 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.7883, allocations: 200.4 kB / 1.182 GB, free: 3.066 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.776e-05/0.7884, allocations: 63.11 kB / 1.182 GB, free: 3.004 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001603/0.7886, allocations: 73.66 kB / 1.182 GB, free: 2.926 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.7887, allocations: 350.8 kB / 1.183 GB, free: 2.574 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001051/0.7898, allocations: 464.5 kB / 1.183 GB, free: 2.117 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001074/0.7909, allocations: 0.4973 MB / 1.184 GB, free: 1.613 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001849/0.7927, allocations: 0.754 MB / 1.184 GB, free: 0.8516 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.7927, allocations: 0 / 1.184 GB, free: 0.8516 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002362/0.7951, allocations: 1.084 MB / 1.185 GB, free: 15.75 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.408e-05/0.7952, allocations: 41.69 kB / 1.185 GB, free: 15.7 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.7952, allocations: 7.875 kB / 1.185 GB, free: 15.69 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.7952, allocations: 0 / 1.185 GB, free: 15.69 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006092/0.7958, allocations: 95.83 kB / 1.186 GB, free: 15.6 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.7958, allocations: 0 / 1.186 GB, free: 15.6 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005097/0.7963, allocations: 63.83 kB / 1.186 GB, free: 15.54 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.792e-05/0.7964, allocations: 11.98 kB / 1.186 GB, free: 15.52 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.0002725/0.7967, allocations: 216.9 kB / 1.186 GB, free: 15.3 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.615e-05/0.7968, allocations: 39.53 kB / 1.186 GB, free: 15.27 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.059e-05/0.7969, allocations: 63.78 kB / 1.186 GB, free: 15.2 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.7969, allocations: 0 / 1.186 GB, free: 15.2 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.7969, allocations: 4 kB / 1.186 GB, free: 15.2 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.7969, allocations: 0 / 1.186 GB, free: 15.2 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006515/0.7976, allocations: 0.6338 MB / 1.187 GB, free: 14.52 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.7976, allocations: 0 / 1.187 GB, free: 14.52 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005852/0.7982, allocations: 91.89 kB / 1.187 GB, free: 14.43 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.7982, allocations: 3.938 kB / 1.187 GB, free: 14.43 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.198e-05/0.7982, allocations: 11.98 kB / 1.187 GB, free: 14.41 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.7983, allocations: 3.984 kB / 1.187 GB, free: 14.41 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.7983, allocations: 0 / 1.187 GB, free: 14.41 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00208/0.8003, allocations: 0.8416 MB / 1.187 GB, free: 13.55 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002541/0.8006, allocations: 184.5 kB / 1.188 GB, free: 13.35 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.896e-05/0.8007, allocations: 11.92 kB / 1.188 GB, free: 13.34 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005307/0.8012, allocations: 59.92 kB / 1.188 GB, free: 13.28 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.107e-05/0.8013, allocations: 31.91 kB / 1.188 GB, free: 13.25 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-05/0.8014, allocations: 7.984 kB / 1.188 GB, free: 13.24 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004364/0.8018, allocations: 399 kB / 1.188 GB, free: 12.86 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.284e-06/0.8018, allocations: 0 / 1.188 GB, free: 12.86 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004204/0.8023, allocations: 99.94 kB / 1.188 GB, free: 12.76 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,cooCap.stage,cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1]) * Number of discrete states: 3 (cooCap.stage,cooCap.checkBoundsTEva[cooCap.stage],cooCap.checkBoundsTCon[cooCap.stage]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002527/0.8048, allocations: 1.418 MB / 1.19 GB, free: 11.32 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002208/0.807, allocations: 0.9362 MB / 1.191 GB, free: 10.37 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.807, allocations: 0 / 1.191 GB, free: 10.37 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001045/0.8081, allocations: 427.6 kB / 1.191 GB, free: 9.949 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005171/0.8086, allocations: 100 kB / 1.191 GB, free: 9.855 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01197/0.8206, allocations: 7.3 MB / 1.198 GB, free: 2.469 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/0.821, allocations: 0.8581 MB / 1.199 GB, free: 1.586 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0004564/0.8215, allocations: 126.9 kB / 1.199 GB, free: 1.461 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002814/0.8218, allocations: 135.4 kB / 1.199 GB, free: 1.328 MB / 0.92 GB Notification: Performance of SimCode: time 6.61e-07/0.8218, allocations: 0 / 1.199 GB, free: 1.328 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03204/0.8539, allocations: 13.29 MB / 1.212 GB, free: 4.277 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.219/9.073, allocations: 8.094 kB / 1.212 GB, free: 4.273 MB / 0.9356 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.fmu > 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