Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,fileNamePrefix="Buildings_10_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.001027/0.001027, allocations: 90.67 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00816/0.00816, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.244/1.244, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.424/2.424, allocations: 437.8 MB / 0.7121 GB, free: 7 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003762/0.0003765, allocations: 8 kB / 0.873 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5675/0.5679, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.002707/0.5707, allocations: 2.563 MB / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002673/0.5734, allocations: 2.186 MB / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.359e-05/0.5735, allocations: 4 kB / 1.028 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000656/0.5741, allocations: 253 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001448/0.5743, allocations: 75.41 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000891/0.5752, allocations: 442 kB / 1.029 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004742/0.5757, allocations: 486.6 kB / 1.029 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.5758, allocations: 56.56 kB / 1.029 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000173/0.576, allocations: 175.4 kB / 1.029 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000225/0.5762, allocations: 207.3 kB / 1.029 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.064e-05/0.5763, allocations: 24 kB / 1.029 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003352/0.5766, allocations: 223.7 kB / 1.03 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001501/0.5768, allocations: 147.6 kB / 1.03 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001974/0.577, allocations: 228.6 kB / 1.03 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006306/0.5776, allocations: 0.7164 MB / 1.031 GB, free: 8.07 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.5776, allocations: 4 kB / 1.031 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.774e-06/0.5776, allocations: 0 / 1.031 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.5776, allocations: 0 / 1.031 GB, free: 8.066 MB / 0.7794 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.00118/0.5788, allocations: 0.7678 MB / 1.031 GB, free: 7.238 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.5789, allocations: 12.03 kB / 1.031 GB, free: 7.227 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.693e-05/0.5789, allocations: 46.73 kB / 1.032 GB, free: 7.172 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002075/0.581, allocations: 244.1 kB / 1.032 GB, free: 6.934 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004986/0.5815, allocations: 426 kB / 1.032 GB, free: 6.477 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000111/0.5816, allocations: 79.95 kB / 1.032 GB, free: 6.387 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.315e-05/0.5817, allocations: 16.38 kB / 1.032 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/0.583, allocations: 0.5648 MB / 1.033 GB, free: 5.801 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.583, allocations: 0 / 1.033 GB, free: 5.801 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.806e-05/0.583, allocations: 4 kB / 1.033 GB, free: 5.797 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.583, allocations: 4 kB / 1.033 GB, free: 5.793 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002038/0.5851, allocations: 0.8119 MB / 1.034 GB, free: 4.98 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002109/0.5872, allocations: 1.281 MB / 1.035 GB, free: 3.648 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005216/0.5924, allocations: 1.084 MB / 1.036 GB, free: 2.555 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009777/0.5934, allocations: 428.9 kB / 1.036 GB, free: 2.133 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.5934, allocations: 0 / 1.036 GB, free: 2.133 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001219/0.5947, allocations: 0.5618 MB / 1.037 GB, free: 1.559 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=21): time 1.973e-06/0.5947, allocations: 4 kB / 1.037 GB, free: 1.555 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21): time 0.003211/0.5979, allocations: 1.261 MB / 1.038 GB, free: 296 kB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.598, allocations: 59.39 kB / 1.038 GB, free: 224 kB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005735/0.5985, allocations: 0.5175 MB / 1.039 GB, free: 15.69 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 6.085e-05/0.5986, allocations: 33.7 kB / 1.039 GB, free: 15.65 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.5988, allocations: 208.4 kB / 1.039 GB, free: 15.44 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 7.308e-05/0.5989, allocations: 67 kB / 1.039 GB, free: 15.38 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.74e-05/0.5989, allocations: 25.72 kB / 1.039 GB, free: 15.35 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.5991, allocations: 354.8 kB / 1.039 GB, free: 14.99 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001107/0.6002, allocations: 0.4887 MB / 1.04 GB, free: 14.5 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/0.6013, allocations: 0.5247 MB / 1.04 GB, free: 13.97 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001934/0.6032, allocations: 0.8056 MB / 1.041 GB, free: 13.16 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.6033, allocations: 3.938 kB / 1.041 GB, free: 13.15 MB / 0.795 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002391/0.6057, allocations: 1.127 MB / 1.042 GB, free: 12.01 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.458e-05/0.6057, allocations: 41.69 kB / 1.042 GB, free: 11.96 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.6057, allocations: 4 kB / 1.042 GB, free: 11.96 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.6057, allocations: 3.938 kB / 1.042 GB, free: 11.96 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006032/0.6064, allocations: 103.8 kB / 1.042 GB, free: 11.86 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.6064, allocations: 0 / 1.042 GB, free: 11.86 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005216/0.6069, allocations: 75.83 kB / 1.042 GB, free: 11.78 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.055e-05/0.607, allocations: 15.98 kB / 1.042 GB, free: 11.77 MB / 0.795 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.0002751/0.6072, allocations: 217.7 kB / 1.043 GB, free: 11.54 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.003e-05/0.6073, allocations: 47.42 kB / 1.043 GB, free: 11.5 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.892e-05/0.6074, allocations: 59.78 kB / 1.043 GB, free: 11.44 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.6074, allocations: 0 / 1.043 GB, free: 11.44 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.6075, allocations: 4 kB / 1.043 GB, free: 11.43 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.6075, allocations: 0 / 1.043 GB, free: 11.43 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006469/0.6081, allocations: 0.6415 MB / 1.043 GB, free: 10.74 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.6081, allocations: 0 / 1.043 GB, free: 10.74 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005932/0.6087, allocations: 107.9 kB / 1.043 GB, free: 10.64 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.6087, allocations: 7.984 kB / 1.043 GB, free: 10.63 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.999e-05/0.6088, allocations: 11.92 kB / 1.043 GB, free: 10.62 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.6088, allocations: 4 kB / 1.043 GB, free: 10.61 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.6088, allocations: 0 / 1.043 GB, free: 10.61 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002135/0.6109, allocations: 0.8891 MB / 1.044 GB, free: 9.707 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000233/0.6112, allocations: 196.4 kB / 1.045 GB, free: 9.496 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.246e-05/0.6113, allocations: 11.94 kB / 1.045 GB, free: 9.484 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005665/0.6118, allocations: 75.92 kB / 1.045 GB, free: 9.41 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.745e-05/0.6119, allocations: 27.95 kB / 1.045 GB, free: 9.383 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.421e-05/0.612, allocations: 11.98 kB / 1.045 GB, free: 9.371 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004155/0.6124, allocations: 387.1 kB / 1.045 GB, free: 8.992 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6124, allocations: 0 / 1.045 GB, free: 8.992 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000402/0.6128, allocations: 99.98 kB / 1.045 GB, free: 8.895 MB / 0.795 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.002555/0.6154, allocations: 1.473 MB / 1.047 GB, free: 7.391 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002252/0.6176, allocations: 0.9909 MB / 1.048 GB, free: 6.387 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.6177, allocations: 0 / 1.048 GB, free: 6.387 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.00106/0.6187, allocations: 447.6 kB / 1.048 GB, free: 5.949 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005116/0.6192, allocations: 97.72 kB / 1.048 GB, free: 5.855 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01234/0.6316, allocations: 7.636 MB / 1.056 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003972/0.632, allocations: 0.8542 MB / 1.056 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0005286/0.6326, allocations: 130.9 kB / 1.056 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002512/0.6328, allocations: 131.4 kB / 1.057 GB, free: 13 MB / 0.8106 GB Notification: Performance of SimCode: time 7.72e-07/0.6328, allocations: 0 / 1.057 GB, free: 13 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.751/2.383, allocations: 12.36 MB / 1.069 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002452/2.384, allocations: 232.5 kB / 1.069 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.341/4.724, allocations: 4 kB / 1.069 GB, free: 0.6641 MB / 0.8106 GB (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.fmu > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches