Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001908/0.001908, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002339/0.002339, allocations: 213.8 kB / 22.25 MB, free: 5.082 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.525/1.525, allocations: 230.6 MB / 256 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.855/2.855, allocations: 476.8 MB / 0.7707 GB, free: 4.289 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,fileNamePrefix="Buildings_11_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.002058/0.002058, allocations: 71.12 kB / 1.117 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3274, allocations: 170 MB / 1.283 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.004447/0.3318, allocations: 2.939 MB / 1.286 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003674/0.3355, allocations: 2.285 MB / 1.289 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001334/0.3356, allocations: 0 / 1.289 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007835/0.3364, allocations: 262.6 kB / 1.289 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001618/0.3366, allocations: 79.27 kB / 1.289 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001254/0.3378, allocations: 498.3 kB / 1.289 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006426/0.3385, allocations: 0.5229 MB / 1.29 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.3386, allocations: 28.45 kB / 1.29 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002561/0.3389, allocations: 203.5 kB / 1.29 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003256/0.3392, allocations: 223.2 kB / 1.29 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.045e-05/0.3393, allocations: 36 kB / 1.29 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000576/0.3398, allocations: 291.6 kB / 1.291 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002065/0.34, allocations: 163.6 kB / 1.291 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002304/0.3403, allocations: 210.9 kB / 1.291 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009411/0.3412, allocations: 0.7557 MB / 1.292 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3412, allocations: 0 / 1.292 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3412, allocations: 0 / 1.292 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.267e-06/0.3412, allocations: 0 / 1.292 GB, free: 3.273 MB / 0.9825 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.001566/0.3428, allocations: 0.7777 MB / 1.292 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.3429, allocations: 8.031 kB / 1.292 GB, free: 2.445 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.054e-05/0.3429, allocations: 50.73 kB / 1.292 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002108/0.345, allocations: 232.4 kB / 1.293 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007443/0.3458, allocations: 380.4 kB / 1.293 GB, free: 1.766 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000174/0.3459, allocations: 139.3 kB / 1.293 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.487e-05/0.346, allocations: 12.38 kB / 1.293 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001347/0.3474, allocations: 0.5284 MB / 1.294 GB, free: 1.059 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.3474, allocations: 4 kB / 1.294 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.758e-05/0.3474, allocations: 4 kB / 1.294 GB, free: 1.051 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.3474, allocations: 0 / 1.294 GB, free: 1.051 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00213/0.3495, allocations: 0.7611 MB / 1.294 GB, free: 296 kB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002462/0.352, allocations: 1.26 MB / 1.296 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005397/0.3574, allocations: 1.002 MB / 1.297 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001013/0.3584, allocations: 384.6 kB / 1.297 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.075e-05/0.3584, allocations: 4.344 kB / 1.297 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001294/0.3597, allocations: 0.534 MB / 1.298 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=21): time 2.805e-06/0.3597, allocations: 0 / 1.298 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of matching and sorting (n=21): time 0.003257/0.363, allocations: 1.187 MB / 1.299 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/0.363, allocations: 59.39 kB / 1.299 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006528/0.3637, allocations: 0.5135 MB / 1.299 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.586e-05/0.3638, allocations: 37.64 kB / 1.299 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/0.3639, allocations: 204.4 kB / 1.3 GB, free: 11 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.92e-05/0.364, allocations: 67.42 kB / 1.3 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001531/0.3642, allocations: 69.66 kB / 1.3 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.3644, allocations: 362.8 kB / 1.3 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001114/0.3655, allocations: 468.5 kB / 1.3 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00115/0.3666, allocations: 0.4935 MB / 1.301 GB, free: 9.539 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001976/0.3686, allocations: 0.7546 MB / 1.302 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3686, allocations: 0 / 1.302 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002527/0.3711, allocations: 1.083 MB / 1.303 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.209e-05/0.3712, allocations: 37.69 kB / 1.303 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.3712, allocations: 3.938 kB / 1.303 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.3712, allocations: 4 kB / 1.303 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006411/0.3719, allocations: 91.89 kB / 1.303 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.3719, allocations: 0 / 1.303 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005235/0.3724, allocations: 71.75 kB / 1.303 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.292e-05/0.3724, allocations: 15.97 kB / 1.303 GB, free: 7.457 MB / 0.9981 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.0002853/0.3727, allocations: 209.8 kB / 1.303 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.677e-05/0.3728, allocations: 43.72 kB / 1.303 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.605e-05/0.3729, allocations: 55.94 kB / 1.303 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.3729, allocations: 8 kB / 1.303 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3729, allocations: 0 / 1.303 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.3729, allocations: 0 / 1.303 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007103/0.3736, allocations: 0.6095 MB / 1.304 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.3736, allocations: 4 kB / 1.304 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006153/0.3742, allocations: 91.77 kB / 1.304 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/0.3743, allocations: 3.938 kB / 1.304 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.736e-05/0.3743, allocations: 19.97 kB / 1.304 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3743, allocations: 0 / 1.304 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3743, allocations: 0 / 1.304 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002251/0.3765, allocations: 0.8362 MB / 1.305 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002759/0.3768, allocations: 107.6 kB / 1.305 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.833e-05/0.3769, allocations: 11.94 kB / 1.305 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005599/0.3775, allocations: 63.92 kB / 1.305 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.092e-05/0.3775, allocations: 27.95 kB / 1.305 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.753e-05/0.3776, allocations: 15.92 kB / 1.305 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004477/0.378, allocations: 387.1 kB / 1.305 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.378, allocations: 0 / 1.305 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004071/0.3784, allocations: 99.92 kB / 1.305 GB, free: 4.816 MB / 0.9981 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.002669/0.3811, allocations: 1.422 MB / 1.307 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002323/0.3834, allocations: 0.9226 MB / 1.308 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3834, allocations: 0 / 1.308 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001077/0.3845, allocations: 411.6 kB / 1.308 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004832/0.385, allocations: 93.77 kB / 1.308 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01297/0.398, allocations: 7.325 MB / 1.315 GB, free: 10.53 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005452/0.3985, allocations: 0.8463 MB / 1.316 GB, free: 9.656 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0004698/0.399, allocations: 130.9 kB / 1.316 GB, free: 9.527 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003097/0.3993, allocations: 135.4 kB / 1.316 GB, free: 9.395 MB / 1.014 GB Notification: Performance of SimCode: time 8.72e-07/0.3993, allocations: 0 / 1.316 GB, free: 9.395 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04338/0.4427, allocations: 13.56 MB / 1.33 GB, free: 12.07 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.99, allocations: 19.7 kB / 1.33 GB, free: 12.06 MB / 1.029 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.fmu > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.827663884032518]