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.007103/0.007103, allocations: 99.14 kB / 15.73 MB, free: 6.035 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.001469/0.001469, allocations: 194.6 kB / 16.67 MB, free: 5.965 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.301/1.301, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.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.323/2.323, allocations: 390.2 MB / 0.6648 GB, free: 264 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 60.59 kB / 0.9504 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2577, allocations: 140.4 MB / 1.088 GB, free: 2 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.003835/0.2616, allocations: 2.344 MB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002908/0.2645, allocations: 1.869 MB / 1.092 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002088/0.2648, allocations: 4 kB / 1.092 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007791/0.2656, allocations: 221.6 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002218/0.2658, allocations: 67.36 kB / 1.092 GB, free: 13.48 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.001204/0.267, allocations: 430.9 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006/0.2677, allocations: 402.8 kB / 1.093 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/0.2678, allocations: 40.38 kB / 1.093 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002747/0.2681, allocations: 151.6 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002912/0.2684, allocations: 155.4 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.268e-05/0.2685, allocations: 28 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004725/0.269, allocations: 243.7 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001581/0.2691, allocations: 119.6 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000197/0.2694, allocations: 163.2 kB / 1.094 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008072/0.2702, allocations: 0.6045 MB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2702, allocations: 3.938 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.044e-06/0.2702, allocations: 0 / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.392e-05/0.2702, allocations: 0 / 1.094 GB, free: 11.18 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.001344/0.2716, allocations: 0.7177 MB / 1.095 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.2716, allocations: 8.031 kB / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.722e-05/0.2717, allocations: 46.73 kB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001774/0.2735, allocations: 156.4 kB / 1.095 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006667/0.2741, allocations: 366.3 kB / 1.095 GB, free: 9.789 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001156/0.2743, allocations: 75.52 kB / 1.095 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.61e-05/0.2743, allocations: 12 kB / 1.096 GB, free: 9.691 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/0.2754, allocations: 437.2 kB / 1.096 GB, free: 9.258 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.2754, allocations: 0 / 1.096 GB, free: 9.258 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.267e-05/0.2754, allocations: 4 kB / 1.096 GB, free: 9.254 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.2755, allocations: 8 kB / 1.096 GB, free: 9.246 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001554/0.277, allocations: 0.5854 MB / 1.097 GB, free: 8.66 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00194/0.279, allocations: 1.046 MB / 1.098 GB, free: 7.562 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004886/0.2839, allocations: 0.8494 MB / 1.098 GB, free: 6.703 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008366/0.2847, allocations: 304.9 kB / 1.099 GB, free: 6.402 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.338e-05/0.2848, allocations: 3.938 kB / 1.099 GB, free: 6.398 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00112/0.2859, allocations: 451 kB / 1.099 GB, free: 5.945 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 3.316e-06/0.2859, allocations: 0 / 1.099 GB, free: 5.945 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.002609/0.2886, allocations: 0.9186 MB / 1.1 GB, free: 5.02 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.2886, allocations: 63.28 kB / 1.1 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005114/0.2891, allocations: 433.6 kB / 1.1 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.522e-05/0.2892, allocations: 37.7 kB / 1.1 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.2894, allocations: 168.1 kB / 1.101 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.687e-05/0.2894, allocations: 51.3 kB / 1.101 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/0.2896, allocations: 53.58 kB / 1.101 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.2897, allocations: 350.8 kB / 1.101 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008708/0.2906, allocations: 380.6 kB / 1.101 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008642/0.2915, allocations: 377 kB / 1.102 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001537/0.293, allocations: 0.5945 MB / 1.102 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.293, allocations: 0 / 1.102 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00198/0.295, allocations: 0.9124 MB / 1.103 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.574e-05/0.2951, allocations: 41.69 kB / 1.103 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.2951, allocations: 3.984 kB / 1.103 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.2951, allocations: 0 / 1.103 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004664/0.2956, allocations: 71.86 kB / 1.103 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.2956, allocations: 0 / 1.103 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004248/0.2961, allocations: 39.8 kB / 1.103 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.714e-05/0.2961, allocations: 15.98 kB / 1.103 GB, free: 1.398 MB / 0.8575 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.0002519/0.2964, allocations: 193.7 kB / 1.104 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.366e-05/0.2965, allocations: 35.56 kB / 1.104 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.426e-05/0.2966, allocations: 39.47 kB / 1.104 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.2966, allocations: 3.938 kB / 1.104 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.2966, allocations: 3.984 kB / 1.104 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.2966, allocations: 4 kB / 1.104 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005471/0.2971, allocations: 0.5362 MB / 1.104 GB, free: 0.5273 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.2972, allocations: 4 kB / 1.104 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004601/0.2976, allocations: 67.91 kB / 1.104 GB, free: 468 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.2976, allocations: 0 / 1.104 GB, free: 468 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.056e-05/0.2977, allocations: 7.984 kB / 1.104 GB, free: 460 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/0.2977, allocations: 7.938 kB / 1.104 GB, free: 452 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2977, allocations: 0 / 1.104 GB, free: 452 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00171/0.2994, allocations: 0.6584 MB / 1.105 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002445/0.2997, allocations: 160.7 kB / 1.105 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.954e-05/0.2998, allocations: 11.98 kB / 1.105 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004658/0.3002, allocations: 47.88 kB / 1.105 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.879e-05/0.3003, allocations: 23.97 kB / 1.105 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.368e-05/0.3004, allocations: 7.984 kB / 1.105 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003484/0.3007, allocations: 319.1 kB / 1.106 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.9e-07/0.3007, allocations: 0 / 1.106 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004012/0.3011, allocations: 87.92 kB / 1.106 GB, free: 15.1 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.002309/0.3035, allocations: 1.249 MB / 1.107 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001889/0.3054, allocations: 0.7711 MB / 1.108 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.696e-06/0.3054, allocations: 0 / 1.108 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.00084/0.3062, allocations: 319.8 kB / 1.108 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004786/0.3067, allocations: 82.45 kB / 1.108 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01012/0.3169, allocations: 6.108 MB / 1.114 GB, free: 6.465 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003863/0.3173, allocations: 0.8143 MB / 1.115 GB, free: 5.625 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000372/0.3177, allocations: 98.23 kB / 1.115 GB, free: 5.527 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002158/0.3179, allocations: 103.4 kB / 1.115 GB, free: 5.426 MB / 0.8731 GB Notification: Performance of SimCode: time 4.51e-07/0.3179, allocations: 0 / 1.115 GB, free: 5.426 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03117/0.3491, allocations: 11.06 MB / 1.126 GB, free: 10.63 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.295/8.644, allocations: 9.031 kB / 1.126 GB, free: 10.63 MB / 0.8887 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