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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 197.3 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.585/2.585, allocations: 469.8 MB / 0.7424 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001733/0.001733, allocations: 65.55 kB / 0.9087 GB, free: 34.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.2448, allocations: 159.2 MB / 1.064 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.003937/0.2487, allocations: 2.893 MB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002775/0.2515, allocations: 2.208 MB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.475e-05/0.2516, allocations: 4 kB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0006264/0.2523, allocations: 270.7 kB / 1.069 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001331/0.2524, allocations: 83.22 kB / 1.069 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009347/0.2533, allocations: 477.8 kB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000509/0.2539, allocations: 0.512 MB / 1.07 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.254, allocations: 48.73 kB / 1.07 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001926/0.2542, allocations: 199.5 kB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000239/0.2544, allocations: 211.2 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.144e-05/0.2545, allocations: 36 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00037/0.2549, allocations: 251.7 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001652/0.2551, allocations: 151.6 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000203/0.2553, allocations: 222.9 kB / 1.071 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006956/0.256, allocations: 0.7401 MB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.256, allocations: 0 / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.836e-06/0.256, allocations: 0 / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.259e-06/0.256, allocations: 3.938 kB / 1.072 GB, free: 5.949 MB / 0.8262 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.001273/0.2573, allocations: 0.836 MB / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.2573, allocations: 12.03 kB / 1.073 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.084e-05/0.2574, allocations: 50.73 kB / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002012/0.2594, allocations: 232.1 kB / 1.073 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000489/0.2599, allocations: 430 kB / 1.074 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001085/0.26, allocations: 83.94 kB / 1.074 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.68e-05/0.2601, allocations: 12.38 kB / 1.074 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/0.2613, allocations: 0.5284 MB / 1.074 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.2613, allocations: 8 kB / 1.074 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.773e-05/0.2614, allocations: 7.938 kB / 1.074 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.2614, allocations: 4 kB / 1.074 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002018/0.2634, allocations: 0.7611 MB / 1.075 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002098/0.2655, allocations: 1.261 MB / 1.076 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005132/0.2707, allocations: 1.013 MB / 1.077 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009508/0.2716, allocations: 396.6 kB / 1.078 GB, free: 152 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.2717, allocations: 7.984 kB / 1.078 GB, free: 144 kB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001177/0.2728, allocations: 0.5341 MB / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=21): time 1.653e-06/0.2728, allocations: 0 / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of matching and sorting (n=21): time 0.00305/0.2759, allocations: 1.186 MB / 1.079 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.276, allocations: 55.41 kB / 1.079 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005448/0.2765, allocations: 0.5135 MB / 1.08 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.888e-05/0.2766, allocations: 37.69 kB / 1.08 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.2767, allocations: 200.4 kB / 1.08 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.565e-05/0.2768, allocations: 59.11 kB / 1.08 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/0.277, allocations: 69.66 kB / 1.08 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.2771, allocations: 354.8 kB / 1.081 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/0.2782, allocations: 468.5 kB / 1.081 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001132/0.2793, allocations: 0.4935 MB / 1.082 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001909/0.2813, allocations: 0.7622 MB / 1.082 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2813, allocations: 0 / 1.082 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002389/0.2837, allocations: 1.076 MB / 1.083 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.333e-05/0.2837, allocations: 37.69 kB / 1.083 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.2837, allocations: 3.938 kB / 1.083 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.2838, allocations: 4 kB / 1.083 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000579/0.2843, allocations: 91.83 kB / 1.083 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.2844, allocations: 4 kB / 1.083 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004853/0.2848, allocations: 63.81 kB / 1.083 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.588e-05/0.2849, allocations: 15.97 kB / 1.084 GB, free: 10.04 MB / 0.8419 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.0002386/0.2851, allocations: 209.8 kB / 1.084 GB, free: 9.824 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.439e-05/0.2852, allocations: 47.44 kB / 1.084 GB, free: 9.777 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.449e-05/0.2853, allocations: 51.84 kB / 1.084 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.2853, allocations: 4 kB / 1.084 GB, free: 9.719 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.2853, allocations: 0 / 1.084 GB, free: 9.719 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.2853, allocations: 0 / 1.084 GB, free: 9.719 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006474/0.286, allocations: 0.6453 MB / 1.084 GB, free: 9.027 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.286, allocations: 11.92 kB / 1.084 GB, free: 9.016 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005775/0.2866, allocations: 83.83 kB / 1.085 GB, free: 8.934 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.2866, allocations: 7.938 kB / 1.085 GB, free: 8.926 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.159e-05/0.2866, allocations: 15.98 kB / 1.085 GB, free: 8.91 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.2866, allocations: 0 / 1.085 GB, free: 8.91 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2866, allocations: 0 / 1.085 GB, free: 8.91 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002083/0.2887, allocations: 0.8337 MB / 1.085 GB, free: 8.059 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002221/0.289, allocations: 184.5 kB / 1.086 GB, free: 7.859 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.331e-05/0.289, allocations: 11.92 kB / 1.086 GB, free: 7.848 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005337/0.2896, allocations: 67.92 kB / 1.086 GB, free: 7.781 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.636e-05/0.2897, allocations: 27.91 kB / 1.086 GB, free: 7.754 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.479e-05/0.2897, allocations: 11.98 kB / 1.086 GB, free: 7.742 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000407/0.2901, allocations: 391.1 kB / 1.086 GB, free: 7.359 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2901, allocations: 0 / 1.086 GB, free: 7.359 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003552/0.2905, allocations: 103.9 kB / 1.086 GB, free: 7.258 MB / 0.8419 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.002527/0.293, allocations: 1.421 MB / 1.088 GB, free: 5.809 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002237/0.2953, allocations: 0.9581 MB / 1.088 GB, free: 4.84 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2953, allocations: 4 kB / 1.088 GB, free: 4.836 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001044/0.2963, allocations: 419.6 kB / 1.089 GB, free: 4.426 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004244/0.2968, allocations: 103.9 kB / 1.089 GB, free: 4.328 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/0.3085, allocations: 7.387 MB / 1.096 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004565/0.309, allocations: 0.8542 MB / 1.097 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0004936/0.3095, allocations: 130.9 kB / 1.097 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002508/0.3098, allocations: 143.3 kB / 1.097 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of SimCode: time 3.81e-07/0.3098, allocations: 0 / 1.097 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.993/2.303, allocations: 13.16 MB / 1.11 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.33/17.63, allocations: 9.516 kB / 1.11 GB, free: 14.77 MB / 0.8731 GB (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 --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) 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) Reference file matches