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.00124/0.00124, allocations: 110.6 kB / 16.46 MB, free: 6.508 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.002041/0.002041, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.508/1.508, allocations: 230.6 MB / 252.8 MB, free: 9.125 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.202/3.202, allocations: 0.49 GB / 0.7916 GB, free: 33.31 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.002045/0.002045, allocations: 69.81 kB / 1.149 GB, free: 26.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3254, allocations: 176.1 MB / 1.321 GB, free: 3.328 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.004212/0.3296, allocations: 2.911 MB / 1.324 GB, free: 412 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003257/0.3328, allocations: 2.27 MB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.3329, allocations: 7.938 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007158/0.3337, allocations: 266.6 kB / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001469/0.3338, allocations: 71.3 kB / 1.326 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001158/0.335, allocations: 494 kB / 1.327 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006092/0.3356, allocations: 0.5103 MB / 1.327 GB, free: 12.79 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.3357, allocations: 32.73 kB / 1.327 GB, free: 12.76 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002352/0.3359, allocations: 203.4 kB / 1.327 GB, free: 12.56 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002843/0.3362, allocations: 223.2 kB / 1.328 GB, free: 12.34 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.663e-05/0.3363, allocations: 36 kB / 1.328 GB, free: 12.3 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004228/0.3367, allocations: 251.7 kB / 1.328 GB, free: 12.06 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001802/0.3369, allocations: 163.6 kB / 1.328 GB, free: 11.9 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002177/0.3371, allocations: 214.9 kB / 1.328 GB, free: 11.69 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008802/0.338, allocations: 0.7629 MB / 1.329 GB, free: 10.92 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.338, allocations: 0 / 1.329 GB, free: 10.92 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.082e-06/0.338, allocations: 0 / 1.329 GB, free: 10.92 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.338, allocations: 0 / 1.329 GB, free: 10.92 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.00147/0.3395, allocations: 0.8513 MB / 1.33 GB, free: 10.01 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.3395, allocations: 11.98 kB / 1.33 GB, free: 9.996 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.035e-05/0.3396, allocations: 42.75 kB / 1.33 GB, free: 9.945 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002275/0.3418, allocations: 240.4 kB / 1.33 GB, free: 9.711 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005946/0.3424, allocations: 430.3 kB / 1.331 GB, free: 9.254 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/0.3425, allocations: 87.88 kB / 1.331 GB, free: 9.156 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.341e-05/0.3426, allocations: 16.38 kB / 1.331 GB, free: 9.141 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/0.344, allocations: 0.5255 MB / 1.331 GB, free: 8.609 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.344, allocations: 7.984 kB / 1.331 GB, free: 8.602 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.286e-05/0.344, allocations: 8 kB / 1.331 GB, free: 8.594 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.344, allocations: 3.984 kB / 1.331 GB, free: 8.59 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002227/0.3463, allocations: 0.7637 MB / 1.332 GB, free: 7.828 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002371/0.3486, allocations: 1.261 MB / 1.333 GB, free: 6.516 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005676/0.3543, allocations: 1.002 MB / 1.334 GB, free: 5.504 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00107/0.3554, allocations: 384.5 kB / 1.334 GB, free: 5.125 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.081e-05/0.3554, allocations: 8 kB / 1.335 GB, free: 5.117 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001358/0.3568, allocations: 0.5284 MB / 1.335 GB, free: 4.578 MB / 1.029 GB Notification: Performance of pre-optimization done (n=21): time 2.645e-06/0.3568, allocations: 0 / 1.335 GB, free: 4.578 MB / 1.029 GB Notification: Performance of matching and sorting (n=21): time 0.003521/0.3603, allocations: 1.179 MB / 1.336 GB, free: 3.395 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.508e-05/0.3604, allocations: 63.34 kB / 1.336 GB, free: 3.32 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000649/0.361, allocations: 0.5174 MB / 1.337 GB, free: 2.793 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.599e-05/0.3611, allocations: 33.7 kB / 1.337 GB, free: 2.754 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000184/0.3613, allocations: 200.5 kB / 1.337 GB, free: 2.555 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.272e-05/0.3614, allocations: 71.36 kB / 1.337 GB, free: 2.484 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001741/0.3615, allocations: 73.66 kB / 1.337 GB, free: 2.406 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002043/0.3617, allocations: 354.7 kB / 1.337 GB, free: 2.051 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001186/0.3629, allocations: 468.5 kB / 1.338 GB, free: 1.59 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001236/0.3642, allocations: 0.4941 MB / 1.338 GB, free: 1.09 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002091/0.3662, allocations: 0.754 MB / 1.339 GB, free: 336 kB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.3663, allocations: 0 / 1.339 GB, free: 336 kB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002692/0.3689, allocations: 1.082 MB / 1.34 GB, free: 15.23 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.172e-05/0.369, allocations: 37.69 kB / 1.34 GB, free: 15.19 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.369, allocations: 7.938 kB / 1.34 GB, free: 15.18 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.369, allocations: 4 kB / 1.34 GB, free: 15.18 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000656/0.3697, allocations: 83.89 kB / 1.34 GB, free: 15.1 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.3697, allocations: 8 kB / 1.34 GB, free: 15.09 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005729/0.3703, allocations: 63.81 kB / 1.34 GB, free: 15.03 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.663e-05/0.3703, allocations: 11.98 kB / 1.34 GB, free: 15.02 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.000328/0.3707, allocations: 221.7 kB / 1.341 GB, free: 14.79 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.438e-05/0.3708, allocations: 43.72 kB / 1.341 GB, free: 14.75 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.277e-05/0.3708, allocations: 51.84 kB / 1.341 GB, free: 14.7 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.3708, allocations: 4 kB / 1.341 GB, free: 14.69 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.3709, allocations: 0 / 1.341 GB, free: 14.69 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.3709, allocations: 0 / 1.341 GB, free: 14.69 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007253/0.3716, allocations: 0.6529 MB / 1.341 GB, free: 13.99 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.3716, allocations: 0 / 1.341 GB, free: 13.99 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006271/0.3722, allocations: 95.83 kB / 1.341 GB, free: 13.89 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.3722, allocations: 3.938 kB / 1.341 GB, free: 13.89 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.725e-05/0.3723, allocations: 7.984 kB / 1.341 GB, free: 13.88 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.62e-06/0.3723, allocations: 7.922 kB / 1.341 GB, free: 13.88 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.3723, allocations: 4 kB / 1.341 GB, free: 13.87 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002353/0.3746, allocations: 0.8391 MB / 1.342 GB, free: 13.02 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002664/0.3749, allocations: 188.8 kB / 1.342 GB, free: 12.81 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.312e-05/0.375, allocations: 11.92 kB / 1.342 GB, free: 12.8 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005796/0.3755, allocations: 59.92 kB / 1.342 GB, free: 12.74 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.3756, allocations: 31.95 kB / 1.343 GB, free: 12.71 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.78e-05/0.3757, allocations: 7.984 kB / 1.343 GB, free: 12.7 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0005034/0.3762, allocations: 395 kB / 1.343 GB, free: 12.32 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3762, allocations: 0 / 1.343 GB, free: 12.32 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004432/0.3766, allocations: 95.94 kB / 1.343 GB, free: 12.22 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.002811/0.3794, allocations: 1.422 MB / 1.344 GB, free: 10.77 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002447/0.3819, allocations: 0.9245 MB / 1.345 GB, free: 9.836 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3819, allocations: 0 / 1.345 GB, free: 9.836 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.00114/0.383, allocations: 404.8 kB / 1.346 GB, free: 9.441 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005398/0.3836, allocations: 103.3 kB / 1.346 GB, free: 9.34 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01334/0.3969, allocations: 7.314 MB / 1.353 GB, free: 1.934 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004836/0.3974, allocations: 0.8619 MB / 1.354 GB, free: 1.047 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0004416/0.3978, allocations: 130.9 kB / 1.354 GB, free: 0.918 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002877/0.3981, allocations: 139.4 kB / 1.354 GB, free: 0.7812 MB / 1.045 GB Notification: Performance of SimCode: time 8.31e-07/0.3981, allocations: 0 / 1.354 GB, free: 0.7812 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03891/0.437, allocations: 13.34 MB / 1.367 GB, free: 3.688 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.811/9.248, allocations: 9.656 kB / 1.367 GB, free: 3.68 MB / 1.061 GB " [Timeout remaining time 291] (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: 16.017466720892116]