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.001374/0.001374, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001536/0.001536, allocations: 213.4 kB / 22.25 MB, free: 5.262 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.499/1.499, allocations: 230.6 MB / 256 MB, free: 7.785 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.274/3.274, allocations: 0.4892 GB / 0.7943 GB, free: 35.55 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.002085/0.002085, allocations: 63.78 kB / 1.153 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.341, allocations: 176.1 MB / 1.325 GB, free: 2.328 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.004543/0.3456, allocations: 2.693 MB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003488/0.3491, allocations: 2.079 MB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.3492, allocations: 4 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007536/0.3499, allocations: 230.7 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001672/0.3501, allocations: 79.27 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001236/0.3514, allocations: 494.4 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005907/0.3519, allocations: 0.5142 MB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.3521, allocations: 32.78 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002351/0.3523, allocations: 207.4 kB / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002848/0.3526, allocations: 207.3 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.692e-05/0.3527, allocations: 36 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005006/0.3532, allocations: 279.5 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001775/0.3533, allocations: 151.6 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001899/0.3535, allocations: 175.1 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008353/0.3544, allocations: 0.7591 MB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3544, allocations: 0 / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3544, allocations: 0 / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.3544, allocations: 0 / 1.333 GB, free: 10.4 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.001412/0.3558, allocations: 0.7799 MB / 1.334 GB, free: 9.574 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.3558, allocations: 8.031 kB / 1.334 GB, free: 9.566 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.4e-05/0.3559, allocations: 54.73 kB / 1.334 GB, free: 9.504 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002175/0.3581, allocations: 232.4 kB / 1.334 GB, free: 9.277 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006332/0.3587, allocations: 376.5 kB / 1.334 GB, free: 8.891 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001797/0.3589, allocations: 135.3 kB / 1.334 GB, free: 8.734 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.31e-05/0.3589, allocations: 12.38 kB / 1.334 GB, free: 8.723 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/0.3604, allocations: 0.542 MB / 1.335 GB, free: 8.176 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.3604, allocations: 0 / 1.335 GB, free: 8.176 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.748e-05/0.3604, allocations: 4 kB / 1.335 GB, free: 8.172 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.3604, allocations: 4 kB / 1.335 GB, free: 8.168 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002283/0.3627, allocations: 0.7533 MB / 1.336 GB, free: 7.414 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002554/0.3653, allocations: 1.139 MB / 1.337 GB, free: 6.23 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005637/0.3709, allocations: 0.9977 MB / 1.338 GB, free: 5.223 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001058/0.372, allocations: 388.6 kB / 1.338 GB, free: 4.84 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.036e-05/0.372, allocations: 3.938 kB / 1.338 GB, free: 4.836 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001357/0.3733, allocations: 0.5349 MB / 1.339 GB, free: 4.289 MB / 1.029 GB Notification: Performance of pre-optimization done (n=21): time 3.296e-06/0.3733, allocations: 0 / 1.339 GB, free: 4.289 MB / 1.029 GB Notification: Performance of matching and sorting (n=21): time 0.003635/0.377, allocations: 1.179 MB / 1.34 GB, free: 3.105 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/0.377, allocations: 55.41 kB / 1.34 GB, free: 3.039 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007056/0.3777, allocations: 0.5175 MB / 1.34 GB, free: 2.508 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.165e-05/0.3778, allocations: 41.62 kB / 1.34 GB, free: 2.461 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001904/0.378, allocations: 200.5 kB / 1.341 GB, free: 2.262 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.829e-05/0.3781, allocations: 67.38 kB / 1.341 GB, free: 2.195 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001615/0.3783, allocations: 69.66 kB / 1.341 GB, free: 2.121 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001764/0.3784, allocations: 358.8 kB / 1.341 GB, free: 1.762 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001226/0.3797, allocations: 498.2 kB / 1.342 GB, free: 1.266 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001275/0.3809, allocations: 0.5687 MB / 1.342 GB, free: 0.6797 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002159/0.3831, allocations: 0.7539 MB / 1.343 GB, free: 15.92 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.3831, allocations: 4 kB / 1.343 GB, free: 15.91 MB / 1.045 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002669/0.3858, allocations: 1.117 MB / 1.344 GB, free: 14.78 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.626e-05/0.3858, allocations: 45.69 kB / 1.344 GB, free: 14.73 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.3858, allocations: 3.938 kB / 1.344 GB, free: 14.72 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.3858, allocations: 4 kB / 1.344 GB, free: 14.72 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006379/0.3865, allocations: 83.89 kB / 1.344 GB, free: 14.64 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.559e-05/0.3865, allocations: 7.984 kB / 1.344 GB, free: 14.63 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005523/0.387, allocations: 59.83 kB / 1.344 GB, free: 14.57 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.647e-05/0.3871, allocations: 23.97 kB / 1.344 GB, free: 14.55 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.0003317/0.3874, allocations: 213.7 kB / 1.344 GB, free: 14.33 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.114e-05/0.3875, allocations: 43.72 kB / 1.344 GB, free: 14.29 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.822e-05/0.3876, allocations: 51.95 kB / 1.344 GB, free: 14.23 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.3876, allocations: 4 kB / 1.344 GB, free: 14.23 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.3876, allocations: 0 / 1.344 GB, free: 14.23 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.79e-06/0.3876, allocations: 3.984 kB / 1.344 GB, free: 14.23 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007286/0.3884, allocations: 0.5392 MB / 1.345 GB, free: 13.64 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3884, allocations: 0 / 1.345 GB, free: 13.64 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006327/0.389, allocations: 91.89 kB / 1.345 GB, free: 13.55 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.279e-06/0.389, allocations: 3.938 kB / 1.345 GB, free: 13.55 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.555e-05/0.389, allocations: 11.92 kB / 1.345 GB, free: 13.54 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.389, allocations: 4 kB / 1.345 GB, free: 13.54 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.389, allocations: 4 kB / 1.345 GB, free: 13.53 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00231/0.3914, allocations: 0.8381 MB / 1.346 GB, free: 12.68 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003177/0.3917, allocations: 119.6 kB / 1.346 GB, free: 12.56 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.003e-05/0.3918, allocations: 15.92 kB / 1.346 GB, free: 12.54 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005748/0.3923, allocations: 55.92 kB / 1.346 GB, free: 12.49 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.961e-05/0.3924, allocations: 27.95 kB / 1.346 GB, free: 12.46 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.82e-05/0.3925, allocations: 11.98 kB / 1.346 GB, free: 12.45 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004832/0.3929, allocations: 391.1 kB / 1.346 GB, free: 12.07 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3929, allocations: 0 / 1.346 GB, free: 12.07 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000444/0.3934, allocations: 99.94 kB / 1.347 GB, free: 11.97 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.00288/0.3963, allocations: 1.422 MB / 1.348 GB, free: 10.53 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002489/0.3988, allocations: 0.9574 MB / 1.349 GB, free: 9.551 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3988, allocations: 0 / 1.349 GB, free: 9.551 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001112/0.3999, allocations: 409 kB / 1.349 GB, free: 9.152 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005118/0.4004, allocations: 101.7 kB / 1.349 GB, free: 9.055 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01361/0.414, allocations: 7.474 MB / 1.357 GB, free: 1.461 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.4143, allocations: 252.9 kB / 1.357 GB, free: 1.188 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0005054/0.4148, allocations: 130.9 kB / 1.357 GB, free: 1.062 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003134/0.4151, allocations: 139.4 kB / 1.357 GB, free: 0.9258 MB / 1.045 GB Notification: Performance of SimCode: time 6.81e-07/0.4151, allocations: 0 / 1.357 GB, free: 0.9258 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04632/0.4614, allocations: 14.67 MB / 1.371 GB, free: 2.516 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.05, allocations: 3.938 kB / 1.371 GB, free: 2.512 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.867089150007814]