Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityAirCooled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityAirCooled",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.007585/0.007585, allocations: 99.52 kB / 15.73 MB, free: 6.008 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.001832/0.001832, allocations: 198.9 kB / 16.68 MB, free: 5.93 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.285/1.285, 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 9.1.3-maint.9.1.x/package.mo): time 2.101/2.101, allocations: 390.3 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 75.88 kB / 0.9504 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7255/0.7267, allocations: 140.4 MB / 1.088 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.003232/0.73, allocations: 2.347 MB / 1.09 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002441/0.7325, allocations: 1.859 MB / 1.092 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.7326, allocations: 2.875 kB / 1.092 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006718/0.7333, allocations: 220.9 kB / 1.092 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001247/0.7334, allocations: 63.05 kB / 1.092 GB, free: 2.031 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/Fluid/HeatExchangers/DXCoils/BaseClasses/Functions/warnIfPerformanceOutOfBounds.mo:2:1-41:33:writable] Warning: Pure function 'Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Functions.warnIfPerformanceOutOfBounds' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.7346, allocations: 426.7 kB / 1.092 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004733/0.7351, allocations: 409 kB / 1.093 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.7352, allocations: 39.5 kB / 1.093 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000191/0.7354, allocations: 157.5 kB / 1.093 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002082/0.7356, allocations: 151.4 kB / 1.093 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.46e-05/0.7357, allocations: 27.38 kB / 1.093 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004524/0.7361, allocations: 253.3 kB / 1.093 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001549/0.7363, allocations: 114.5 kB / 1.093 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001745/0.7365, allocations: 170.3 kB / 1.094 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007969/0.7373, allocations: 0.6024 MB / 1.094 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.7373, allocations: 3.938 kB / 1.094 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7373, allocations: 0 / 1.094 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.7373, allocations: 0.8438 kB / 1.094 GB, free: 1.082 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001132/0.7385, allocations: 0.7062 MB / 1.095 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.7385, allocations: 9.312 kB / 1.095 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.676e-05/0.7386, allocations: 44.62 kB / 1.095 GB, free: 476 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001769/0.7403, allocations: 159.6 kB / 1.095 GB, free: 452 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005618/0.7409, allocations: 372 kB / 1.095 GB, free: 144 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/0.741, allocations: 78.45 kB / 1.095 GB, free: 72 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.892e-05/0.7411, allocations: 10.69 kB / 1.095 GB, free: 68 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.7422, allocations: 436.8 kB / 1.096 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.7422, allocations: 0.7969 kB / 1.096 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.742e-05/0.7423, allocations: 5.594 kB / 1.096 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.7423, allocations: 1.781 kB / 1.096 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001742/0.744, allocations: 0.5868 MB / 1.096 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002174/0.7462, allocations: 1.036 MB / 1.097 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005202/0.7514, allocations: 0.8519 MB / 1.098 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008383/0.7523, allocations: 312.2 kB / 1.099 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.7523, allocations: 0.9062 kB / 1.099 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001097/0.7534, allocations: 448.3 kB / 1.099 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=16): time 3.086e-06/0.7535, allocations: 0 / 1.099 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of matching and sorting (n=16): time 0.002828/0.7563, allocations: 0.9158 MB / 1.1 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/0.7564, allocations: 63.17 kB / 1.1 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006715/0.757, allocations: 435.6 kB / 1.1 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.794e-05/0.7571, allocations: 34.58 kB / 1.1 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.7573, allocations: 166.1 kB / 1.101 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.497e-05/0.7573, allocations: 46.52 kB / 1.101 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001355/0.7575, allocations: 59.59 kB / 1.101 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.7576, allocations: 347.9 kB / 1.101 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009011/0.7585, allocations: 387.4 kB / 1.101 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008592/0.7594, allocations: 373 kB / 1.102 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00157/0.761, allocations: 0.595 MB / 1.102 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.761, allocations: 0.7969 kB / 1.102 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00214/0.7631, allocations: 0.9143 MB / 1.103 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 5.701e-05/0.7632, allocations: 40.33 kB / 1.103 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.7632, allocations: 1.188 kB / 1.103 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.7632, allocations: 0.75 kB / 1.103 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004903/0.7637, allocations: 72.05 kB / 1.103 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.7638, allocations: 0.9688 kB / 1.103 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004464/0.7642, allocations: 47.42 kB / 1.103 GB, free: 13 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.576e-05/0.7643, allocations: 16.23 kB / 1.103 GB, free: 12.99 MB / 0.8731 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 (17): * Single equations (assignments): 16 * 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.0003016/0.7646, allocations: 196.6 kB / 1.104 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.216e-05/0.7647, allocations: 32.48 kB / 1.104 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.443e-05/0.7647, allocations: 42.3 kB / 1.104 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.7647, allocations: 7.016 kB / 1.104 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.7648, allocations: 0 / 1.104 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.7648, allocations: 0.5625 kB / 1.104 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006186/0.7654, allocations: 0.5435 MB / 1.104 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.7654, allocations: 0 / 1.104 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004653/0.7659, allocations: 67.41 kB / 1.104 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.7659, allocations: 1.031 kB / 1.104 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.134e-05/0.7659, allocations: 7.812 kB / 1.104 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.7659, allocations: 5 kB / 1.104 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.7659, allocations: 4 kB / 1.104 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001759/0.7677, allocations: 0.6562 MB / 1.105 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002473/0.768, allocations: 165.4 kB / 1.105 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.255e-05/0.768, allocations: 8.281 kB / 1.105 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004614/0.7685, allocations: 53.72 kB / 1.105 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.495e-05/0.7686, allocations: 17.52 kB / 1.105 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.341e-05/0.7686, allocations: 9.75 kB / 1.105 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003827/0.769, allocations: 321.5 kB / 1.105 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.9e-07/0.769, allocations: 0 / 1.105 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004335/0.7695, allocations: 81.12 kB / 1.106 GB, free: 11.91 MB / 0.8731 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 (16): * Single equations (assignments): 14 * 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.002323/0.7718, allocations: 1.259 MB / 1.107 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00208/0.7739, allocations: 0.7599 MB / 1.108 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.7739, allocations: 4.438 kB / 1.108 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008599/0.7748, allocations: 321.7 kB / 1.108 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00049/0.7753, allocations: 86.88 kB / 1.108 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01026/0.7855, allocations: 6.101 MB / 1.114 GB, free: 8.078 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003686/0.7859, allocations: 0.8127 MB / 1.115 GB, free: 7.359 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0004/0.7864, allocations: 99.59 kB / 1.115 GB, free: 7.332 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002125/0.7866, allocations: 100.7 kB / 1.115 GB, free: 7.266 MB / 0.8731 GB Notification: Performance of SimCode: time 5.41e-07/0.7866, allocations: 0 / 1.115 GB, free: 7.266 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8948/1.681, allocations: 10.89 MB / 1.126 GB, free: 6.176 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.861/9.542, allocations: 15.81 kB / 1.126 GB, free: 6.168 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityAirCooled_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityAirCooled.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityAirCooled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches