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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008666/0.0008667, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.005347/0.005347, allocations: 170.4 kB / 16.27 MB, free: 6.652 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.341/1.341, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.174/2.174, allocations: 390.9 MB / 0.6664 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003209/0.000321, allocations: 12 kB / 0.8161 GB, free: 13.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5565/0.5569, allocations: 142.4 MB / 0.9552 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.00195/0.5589, allocations: 2.045 MB / 0.9572 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001974/0.5609, allocations: 1.838 MB / 0.959 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.284e-05/0.561, allocations: 6.531 kB / 0.959 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005566/0.5615, allocations: 204.4 kB / 0.9592 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.703e-05/0.5616, allocations: 59.55 kB / 0.9592 GB, free: 4.449 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0007795/0.5624, allocations: 385.1 kB / 0.9596 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003313/0.5628, allocations: 383 kB / 0.96 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.076e-05/0.5629, allocations: 45 kB / 0.96 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.563, allocations: 136.3 kB / 0.9601 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001523/0.5631, allocations: 146.5 kB / 0.9603 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.328e-05/0.5632, allocations: 21.81 kB / 0.9603 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003013/0.5635, allocations: 232 kB / 0.9605 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.5636, allocations: 107 kB / 0.9606 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001433/0.5638, allocations: 182.3 kB / 0.9608 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004781/0.5643, allocations: 0.5714 MB / 0.9614 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.5643, allocations: 7.984 kB / 0.9614 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.322e-06/0.5643, allocations: 1.031 kB / 0.9614 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.5643, allocations: 0 / 0.9614 GB, free: 3.062 MB / 0.7169 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.0008915/0.5652, allocations: 0.6555 MB / 0.962 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.5652, allocations: 10.62 kB / 0.962 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.524e-05/0.5653, allocations: 37.44 kB / 0.962 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001679/0.567, allocations: 174.8 kB / 0.9622 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003475/0.5673, allocations: 366.6 kB / 0.9626 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.377e-05/0.5674, allocations: 79.72 kB / 0.9626 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.15e-05/0.5675, allocations: 7.375 kB / 0.9626 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009654/0.5684, allocations: 465.6 kB / 0.9631 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.5685, allocations: 0 / 0.9631 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.402e-05/0.5685, allocations: 1.312 kB / 0.9631 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.5685, allocations: 1.094 kB / 0.9631 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001509/0.57, allocations: 0.6211 MB / 0.9637 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001537/0.5716, allocations: 1.063 MB / 0.9647 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004945/0.5765, allocations: 0.9077 MB / 0.9656 GB, free: 344 kB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007633/0.5773, allocations: 335.7 kB / 0.9659 GB, free: 192 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.5773, allocations: 1.5 kB / 0.9659 GB, free: 192 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00102/0.5784, allocations: 469.7 kB / 0.9664 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=16): time 2.736e-06/0.5784, allocations: 0 / 0.9664 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of matching and sorting (n=16): time 0.002651/0.581, allocations: 0.975 MB / 0.9673 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.5811, allocations: 62 kB / 0.9674 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005003/0.5816, allocations: 440.7 kB / 0.9678 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.768e-05/0.5817, allocations: 28.61 kB / 0.9679 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.5818, allocations: 170.5 kB / 0.968 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.34e-05/0.5819, allocations: 54.08 kB / 0.9681 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.812e-05/0.5819, allocations: 28.14 kB / 0.9681 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.5821, allocations: 345 kB / 0.9684 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00092/0.583, allocations: 407.2 kB / 0.9688 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008623/0.5839, allocations: 390.3 kB / 0.9692 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001561/0.5855, allocations: 0.6403 MB / 0.9698 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5855, allocations: 1.188 kB / 0.9698 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002047/0.5875, allocations: 0.9494 MB / 0.9707 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.219e-05/0.5876, allocations: 44.72 kB / 0.9708 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.5876, allocations: 0 / 0.9708 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.5876, allocations: 1.469 kB / 0.9708 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004778/0.5881, allocations: 78.83 kB / 0.9709 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.5881, allocations: 5.219 kB / 0.9709 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004486/0.5886, allocations: 59.97 kB / 0.9709 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.751e-05/0.5886, allocations: 10.7 kB / 0.9709 GB, free: 13.39 MB / 0.7325 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.000264/0.5889, allocations: 190.6 kB / 0.9711 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.585e-05/0.589, allocations: 35.88 kB / 0.9711 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.172e-05/0.5891, allocations: 40.47 kB / 0.9712 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.5891, allocations: 2.438 kB / 0.9712 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.5891, allocations: 3.938 kB / 0.9712 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.5891, allocations: 5.219 kB / 0.9712 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005456/0.5896, allocations: 0.5393 MB / 0.9717 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.5897, allocations: 4 kB / 0.9717 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004642/0.5901, allocations: 72.52 kB / 0.9718 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.5901, allocations: 3.984 kB / 0.9718 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.673e-05/0.5902, allocations: 11.17 kB / 0.9718 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.5902, allocations: 1.094 kB / 0.9718 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.5902, allocations: 5.25 kB / 0.9718 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001707/0.5919, allocations: 0.702 MB / 0.9725 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002033/0.5921, allocations: 169.4 kB / 0.9727 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.758e-05/0.5922, allocations: 3.719 kB / 0.9727 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004761/0.5927, allocations: 62.03 kB / 0.9727 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.822e-05/0.5927, allocations: 22.81 kB / 0.9727 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.94e-05/0.5928, allocations: 10.27 kB / 0.9728 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00035/0.5931, allocations: 321.3 kB / 0.9731 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5931, allocations: 0 / 0.9731 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003802/0.5935, allocations: 84.44 kB / 0.9731 GB, free: 11.95 MB / 0.7325 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.002251/0.5958, allocations: 1.295 MB / 0.9744 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00182/0.5976, allocations: 0.8005 MB / 0.9752 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.5976, allocations: 7.938 kB / 0.9752 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008345/0.5985, allocations: 343.7 kB / 0.9755 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004604/0.599, allocations: 78.34 kB / 0.9756 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009764/0.6087, allocations: 6.311 MB / 0.9818 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003576/0.6091, allocations: 0.8221 MB / 0.9826 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004301/0.6095, allocations: 94.25 kB / 0.9827 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000198/0.6098, allocations: 99.38 kB / 0.9827 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of SimCode: time 6.92e-07/0.6098, allocations: 4 kB / 0.9828 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.608/2.218, allocations: 10.06 MB / 0.9926 GB, free: 8.844 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002555/2.218, allocations: 290 kB / 0.9929 GB, free: 8.461 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.955/4.174, allocations: 0 / 0.9929 GB, free: 8.461 MB / 0.7481 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