Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001765/0.001765, allocations: 108.5 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001893/0.001893, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.126/3.126, allocations: 497.2 MB / 0.7811 GB, free: 33.68 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 69.36 kB / 1.134 GB, free: 33.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3271, allocations: 173.9 MB / 1.304 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.004492/0.3316, allocations: 2.888 MB / 1.307 GB, free: 14.59 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003371/0.335, allocations: 2.239 MB / 1.309 GB, free: 12.34 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.3351, allocations: 4 kB / 1.309 GB, free: 12.33 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0007172/0.3358, allocations: 262.6 kB / 1.309 GB, free: 12.07 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001535/0.336, allocations: 79.28 kB / 1.309 GB, free: 12 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001162/0.3371, allocations: 489.6 kB / 1.31 GB, free: 11.52 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0005899/0.3377, allocations: 0.5103 MB / 1.31 GB, free: 11.01 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.3378, allocations: 36.69 kB / 1.31 GB, free: 10.97 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000215/0.338, allocations: 199.5 kB / 1.311 GB, free: 10.78 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002698/0.3383, allocations: 223.2 kB / 1.311 GB, free: 10.56 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.679e-05/0.3384, allocations: 36 kB / 1.311 GB, free: 10.52 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004066/0.3388, allocations: 255.7 kB / 1.311 GB, free: 10.27 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001688/0.3389, allocations: 155.6 kB / 1.311 GB, free: 10.12 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002033/0.3391, allocations: 214.9 kB / 1.311 GB, free: 9.91 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0008324/0.34, allocations: 0.759 MB / 1.312 GB, free: 9.148 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.34, allocations: 3.984 kB / 1.312 GB, free: 9.145 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.723e-06/0.34, allocations: 0 / 1.312 GB, free: 9.145 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.418e-06/0.34, allocations: 4 kB / 1.312 GB, free: 9.141 MB / 1.014 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.001426/0.3414, allocations: 0.8435 MB / 1.313 GB, free: 8.234 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.3415, allocations: 8.625 kB / 1.313 GB, free: 8.227 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.183e-05/0.3415, allocations: 50.67 kB / 1.313 GB, free: 8.168 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002159/0.3437, allocations: 236.4 kB / 1.313 GB, free: 7.938 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006977/0.3444, allocations: 434.3 kB / 1.314 GB, free: 7.477 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001269/0.3445, allocations: 83.94 kB / 1.314 GB, free: 7.383 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.509e-05/0.3446, allocations: 16.38 kB / 1.314 GB, free: 7.367 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/0.3459, allocations: 0.5323 MB / 1.314 GB, free: 6.828 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.3459, allocations: 0 / 1.314 GB, free: 6.828 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.942e-05/0.3459, allocations: 4 kB / 1.314 GB, free: 6.824 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.3459, allocations: 4 kB / 1.314 GB, free: 6.82 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002024/0.3479, allocations: 0.765 MB / 1.315 GB, free: 6.055 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002484/0.3504, allocations: 1.269 MB / 1.316 GB, free: 4.734 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005369/0.3558, allocations: 0.9952 MB / 1.317 GB, free: 3.73 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009839/0.3568, allocations: 388.6 kB / 1.318 GB, free: 3.348 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.049e-05/0.3568, allocations: 4 kB / 1.318 GB, free: 3.344 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001242/0.358, allocations: 0.5382 MB / 1.318 GB, free: 2.793 MB / 1.014 GB Notification: Performance of pre-optimization done (n=21): time 2.365e-06/0.358, allocations: 0 / 1.318 GB, free: 2.793 MB / 1.014 GB Notification: Performance of matching and sorting (n=21): time 0.0032/0.3612, allocations: 1.178 MB / 1.319 GB, free: 1.609 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.595e-05/0.3613, allocations: 55.41 kB / 1.319 GB, free: 1.543 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006462/0.3619, allocations: 0.5174 MB / 1.32 GB, free: 1.016 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.5e-05/0.362, allocations: 37.69 kB / 1.32 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001727/0.3622, allocations: 200.5 kB / 1.32 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.482e-05/0.3623, allocations: 75.42 kB / 1.32 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001557/0.3624, allocations: 69.66 kB / 1.32 GB, free: 0.625 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.3626, allocations: 354.8 kB / 1.321 GB, free: 276 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001072/0.3637, allocations: 460.5 kB / 1.321 GB, free: 15.82 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00112/0.3648, allocations: 0.5033 MB / 1.321 GB, free: 15.31 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001853/0.3666, allocations: 0.755 MB / 1.322 GB, free: 14.55 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3666, allocations: 0 / 1.322 GB, free: 14.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002447/0.3691, allocations: 1.076 MB / 1.323 GB, free: 13.46 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.713e-05/0.3691, allocations: 41.69 kB / 1.323 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.3692, allocations: 3.938 kB / 1.323 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.3692, allocations: 4 kB / 1.323 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006035/0.3698, allocations: 83.89 kB / 1.323 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.3698, allocations: 4 kB / 1.323 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000538/0.3703, allocations: 63.83 kB / 1.323 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.486e-05/0.3704, allocations: 19.97 kB / 1.323 GB, free: 13.23 MB / 1.029 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.000308/0.3707, allocations: 215 kB / 1.324 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.81e-05/0.3708, allocations: 43.72 kB / 1.324 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.765e-05/0.3709, allocations: 51.86 kB / 1.324 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.3709, allocations: 11.98 kB / 1.324 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.3709, allocations: 0 / 1.324 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.3709, allocations: 0 / 1.324 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007013/0.3716, allocations: 0.6529 MB / 1.324 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3716, allocations: 0 / 1.324 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006179/0.3722, allocations: 95.83 kB / 1.325 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.3722, allocations: 3.938 kB / 1.325 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.767e-05/0.3722, allocations: 15.97 kB / 1.325 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.3722, allocations: 3.938 kB / 1.325 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3722, allocations: 0 / 1.325 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002091/0.3743, allocations: 0.8346 MB / 1.325 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003159/0.3747, allocations: 184.7 kB / 1.326 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.73e-05/0.3747, allocations: 19.92 kB / 1.326 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005463/0.3753, allocations: 63.92 kB / 1.326 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.963e-05/0.3754, allocations: 19.97 kB / 1.326 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.883e-05/0.3754, allocations: 15.98 kB / 1.326 GB, free: 10.92 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000483/0.3759, allocations: 391.1 kB / 1.326 GB, free: 10.54 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3759, allocations: 3.938 kB / 1.326 GB, free: 10.54 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004247/0.3763, allocations: 103.9 kB / 1.326 GB, free: 10.43 MB / 1.029 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.002646/0.379, allocations: 1.416 MB / 1.327 GB, free: 8.988 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002234/0.3812, allocations: 0.9188 MB / 1.328 GB, free: 8.059 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3812, allocations: 0 / 1.328 GB, free: 8.059 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001014/0.3822, allocations: 411.6 kB / 1.329 GB, free: 7.656 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004964/0.3827, allocations: 93.78 kB / 1.329 GB, free: 7.562 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01251/0.3952, allocations: 7.322 MB / 1.336 GB, free: 148 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000492/0.3957, allocations: 0.8542 MB / 1.337 GB, free: 15.27 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0004855/0.3962, allocations: 134.9 kB / 1.337 GB, free: 15.13 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002655/0.3965, allocations: 135.4 kB / 1.337 GB, free: 15 MB / 1.045 GB Notification: Performance of SimCode: time 1.122e-06/0.3965, allocations: 0 / 1.337 GB, free: 15 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03861/0.4351, allocations: 13.35 MB / 1.35 GB, free: 1.938 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.637/9.072, allocations: 15.53 kB / 1.35 GB, free: 1.922 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.546717097982764]