Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 103.6 kB / 18.95 MB, free: 2.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 215.7 kB / 22.25 MB, free: 5.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.529/1.529, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.221/3.221, allocations: 0.49 GB / 0.7951 GB, free: 35.44 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,fileNamePrefix="Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,fileNamePrefix="Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 69.45 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.3505, allocations: 176.1 MB / 1.326 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.004753/0.3552, allocations: 2.695 MB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003636/0.3589, allocations: 2.076 MB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001579/0.359, allocations: 4 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0008254/0.3599, allocations: 230.7 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001778/0.36, allocations: 75.28 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001361/0.3614, allocations: 0.494 MB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006603/0.3621, allocations: 0.5103 MB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.3622, allocations: 40.7 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002355/0.3624, allocations: 207.4 kB / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003207/0.3627, allocations: 215.3 kB / 1.332 GB, free: 10.92 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.191e-05/0.3628, allocations: 36 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005196/0.3633, allocations: 287.6 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002109/0.3635, allocations: 155.5 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002129/0.3638, allocations: 179.1 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009529/0.3647, allocations: 0.7552 MB / 1.334 GB, free: 9.516 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3647, allocations: 0 / 1.334 GB, free: 9.516 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.904e-06/0.3647, allocations: 0 / 1.334 GB, free: 9.516 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.3647, allocations: 3.938 kB / 1.334 GB, free: 9.512 MB / 1.029 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.001578/0.3663, allocations: 0.7818 MB / 1.334 GB, free: 8.688 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.3663, allocations: 8.031 kB / 1.334 GB, free: 8.68 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.007e-05/0.3664, allocations: 50.75 kB / 1.334 GB, free: 8.621 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002254/0.3687, allocations: 232.4 kB / 1.335 GB, free: 8.395 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006495/0.3693, allocations: 372.5 kB / 1.335 GB, free: 8.008 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001645/0.3695, allocations: 139.3 kB / 1.335 GB, free: 7.848 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.444e-05/0.3696, allocations: 8.375 kB / 1.335 GB, free: 7.84 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/0.3709, allocations: 0.5323 MB / 1.336 GB, free: 7.301 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.3709, allocations: 0 / 1.336 GB, free: 7.301 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.276e-05/0.3709, allocations: 11.98 kB / 1.336 GB, free: 7.289 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.3709, allocations: 4 kB / 1.336 GB, free: 7.285 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002128/0.3731, allocations: 0.7533 MB / 1.336 GB, free: 6.531 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002479/0.3756, allocations: 1.143 MB / 1.338 GB, free: 5.344 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005743/0.3813, allocations: 1.006 MB / 1.339 GB, free: 4.328 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00107/0.3824, allocations: 396.5 kB / 1.339 GB, free: 3.938 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.999e-05/0.3824, allocations: 4 kB / 1.339 GB, free: 3.934 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001339/0.3837, allocations: 0.5234 MB / 1.339 GB, free: 3.398 MB / 1.029 GB Notification: Performance of pre-optimization done (n=21): time 2.795e-06/0.3837, allocations: 0 / 1.339 GB, free: 3.398 MB / 1.029 GB Notification: Performance of matching and sorting (n=21): time 0.00339/0.3871, allocations: 1.187 MB / 1.341 GB, free: 2.207 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.25e-05/0.3872, allocations: 55.41 kB / 1.341 GB, free: 2.141 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00069/0.3879, allocations: 0.5213 MB / 1.341 GB, free: 1.609 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 9.195e-05/0.388, allocations: 33.7 kB / 1.341 GB, free: 1.57 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001878/0.3882, allocations: 200.5 kB / 1.341 GB, free: 1.371 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.887e-05/0.3883, allocations: 71.42 kB / 1.341 GB, free: 1.301 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001669/0.3884, allocations: 61.67 kB / 1.342 GB, free: 1.234 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.3886, allocations: 358.8 kB / 1.342 GB, free: 0.875 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001167/0.3898, allocations: 0.4943 MB / 1.342 GB, free: 380 kB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001225/0.391, allocations: 0.5608 MB / 1.343 GB, free: 15.79 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001978/0.393, allocations: 0.7538 MB / 1.344 GB, free: 15.03 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.393, allocations: 0 / 1.344 GB, free: 15.03 MB / 1.045 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002597/0.3956, allocations: 1.119 MB / 1.345 GB, free: 13.89 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.56e-05/0.3956, allocations: 37.69 kB / 1.345 GB, free: 13.85 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.3956, allocations: 3.938 kB / 1.345 GB, free: 13.84 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.3957, allocations: 8 kB / 1.345 GB, free: 13.84 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006372/0.3963, allocations: 83.89 kB / 1.345 GB, free: 13.75 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.3963, allocations: 4 kB / 1.345 GB, free: 13.75 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005561/0.3969, allocations: 71.75 kB / 1.345 GB, free: 13.68 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.924e-05/0.3969, allocations: 15.98 kB / 1.345 GB, free: 13.66 MB / 1.045 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.0003271/0.3972, allocations: 217.7 kB / 1.345 GB, free: 13.44 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.734e-05/0.3973, allocations: 43.72 kB / 1.345 GB, free: 13.4 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.233e-05/0.3974, allocations: 55.94 kB / 1.345 GB, free: 13.34 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.3974, allocations: 4 kB / 1.345 GB, free: 13.34 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.3974, allocations: 0 / 1.345 GB, free: 13.34 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.3975, allocations: 0 / 1.345 GB, free: 13.34 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006653/0.3981, allocations: 0.543 MB / 1.346 GB, free: 12.76 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3981, allocations: 0 / 1.346 GB, free: 12.76 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000649/0.3988, allocations: 95.83 kB / 1.346 GB, free: 12.66 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.3988, allocations: 3.938 kB / 1.346 GB, free: 12.66 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.738e-05/0.3988, allocations: 7.984 kB / 1.346 GB, free: 12.65 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.3988, allocations: 0 / 1.346 GB, free: 12.65 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.3988, allocations: 0 / 1.346 GB, free: 12.65 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002192/0.401, allocations: 0.8382 MB / 1.347 GB, free: 11.8 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002977/0.4013, allocations: 115.6 kB / 1.347 GB, free: 11.68 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.705e-05/0.4014, allocations: 7.938 kB / 1.347 GB, free: 11.68 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005797/0.402, allocations: 63.92 kB / 1.347 GB, free: 11.61 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.273e-05/0.4021, allocations: 23.95 kB / 1.347 GB, free: 11.59 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.327e-05/0.4021, allocations: 15.92 kB / 1.347 GB, free: 11.57 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004625/0.4026, allocations: 399 kB / 1.347 GB, free: 11.19 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4026, allocations: 0 / 1.347 GB, free: 11.19 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004494/0.403, allocations: 99.94 kB / 1.347 GB, free: 11.09 MB / 1.045 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.002694/0.4057, allocations: 1.422 MB / 1.349 GB, free: 9.641 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002383/0.4081, allocations: 0.9574 MB / 1.35 GB, free: 8.664 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4081, allocations: 0 / 1.35 GB, free: 8.664 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001066/0.4092, allocations: 409.9 kB / 1.35 GB, free: 8.266 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005036/0.4097, allocations: 99.33 kB / 1.35 GB, free: 8.172 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01291/0.4226, allocations: 7.469 MB / 1.357 GB, free: 0.5781 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/0.4228, allocations: 249 kB / 1.358 GB, free: 316 kB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0004832/0.4233, allocations: 134.9 kB / 1.358 GB, free: 184 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002942/0.4236, allocations: 135.4 kB / 1.358 GB, free: 48 kB / 1.045 GB Notification: Performance of SimCode: time 7.31e-07/0.4236, allocations: 0 / 1.358 GB, free: 48 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04512/0.4687, allocations: 14.74 MB / 1.372 GB, free: 1.562 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.78, allocations: 12.62 kB / 1.372 GB, free: 1.555 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.fmu > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.706751833000453]