Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooCap.TConIn|cooCap.TEvaIn|cooCap.m_flow|cooCap.Q_flow.1.|cooCap.EIR.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooCap.TConIn|cooCap.TEvaIn|cooCap.m_flow|cooCap.Q_flow.1.|cooCap.EIR.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 102.8 kB / 16.35 MB, free: 5.879 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.001555/0.001555, allocations: 193.6 kB / 17.3 MB, free: 5.52 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.441/1.441, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.496/2.496, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 69.3 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.3638, allocations: 153 MB / 1.027 GB, free: 2.031 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.003844/0.3677, allocations: 2.898 MB / 1.03 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002817/0.3705, allocations: 2.224 MB / 1.032 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.3706, allocations: 4 kB / 1.032 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0007049/0.3713, allocations: 258.5 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001388/0.3715, allocations: 83.27 kB / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.3725, allocations: 473.5 kB / 1.033 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005132/0.3731, allocations: 0.5219 MB / 1.033 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.3732, allocations: 48.73 kB / 1.033 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001806/0.3734, allocations: 203.5 kB / 1.033 GB, free: 11.31 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002346/0.3736, allocations: 211.3 kB / 1.033 GB, free: 11.1 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.054e-05/0.3737, allocations: 40 kB / 1.034 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000348/0.374, allocations: 247.7 kB / 1.034 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001545/0.3742, allocations: 159.5 kB / 1.034 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001829/0.3744, allocations: 214.9 kB / 1.034 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006732/0.3751, allocations: 0.7556 MB / 1.035 GB, free: 9.695 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3751, allocations: 0 / 1.035 GB, free: 9.695 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3751, allocations: 0 / 1.035 GB, free: 9.695 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.3751, allocations: 0 / 1.035 GB, free: 9.695 MB / 0.8106 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.001263/0.3764, allocations: 0.836 MB / 1.036 GB, free: 8.797 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.3764, allocations: 8.031 kB / 1.036 GB, free: 8.789 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001918/0.3783, allocations: 228.2 kB / 1.036 GB, free: 8.566 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000527/0.3789, allocations: 429.9 kB / 1.036 GB, free: 8.109 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001251/0.379, allocations: 91.88 kB / 1.036 GB, free: 8.008 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.741e-05/0.3791, allocations: 8.375 kB / 1.036 GB, free: 8 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.3802, allocations: 0.5325 MB / 1.037 GB, free: 7.461 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.3802, allocations: 3.938 kB / 1.037 GB, free: 7.457 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.581e-05/0.3803, allocations: 4 kB / 1.037 GB, free: 7.453 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.3803, allocations: 8 kB / 1.037 GB, free: 7.445 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001782/0.3821, allocations: 0.7591 MB / 1.038 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002051/0.3841, allocations: 1.253 MB / 1.039 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004832/0.389, allocations: 1.017 MB / 1.04 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008448/0.3898, allocations: 400.6 kB / 1.04 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.968e-05/0.3899, allocations: 4 kB / 1.04 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001101/0.391, allocations: 0.534 MB / 1.041 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=21): time 1.984e-06/0.391, allocations: 0 / 1.041 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of matching and sorting (n=21): time 0.003007/0.394, allocations: 1.178 MB / 1.042 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.3941, allocations: 55.41 kB / 1.042 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005444/0.3946, allocations: 0.5174 MB / 1.042 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.411e-05/0.3947, allocations: 41.7 kB / 1.043 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/0.3948, allocations: 192.5 kB / 1.043 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.945e-05/0.3949, allocations: 78.94 kB / 1.043 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/0.3951, allocations: 65.66 kB / 1.043 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.3952, allocations: 350.8 kB / 1.043 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009542/0.3961, allocations: 468.5 kB / 1.044 GB, free: 448 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009839/0.3971, allocations: 0.4985 MB / 1.044 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001677/0.3988, allocations: 0.7612 MB / 1.045 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3988, allocations: 0 / 1.045 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002311/0.4012, allocations: 1.071 MB / 1.046 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.882e-05/0.4012, allocations: 41.69 kB / 1.046 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.4012, allocations: 0 / 1.046 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.4013, allocations: 7.938 kB / 1.046 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005666/0.4018, allocations: 91.83 kB / 1.046 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.4019, allocations: 0 / 1.046 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004836/0.4024, allocations: 67.77 kB / 1.046 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.808e-05/0.4024, allocations: 15.98 kB / 1.046 GB, free: 13.86 MB / 0.8262 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.0003123/0.4027, allocations: 215.4 kB / 1.046 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.6e-05/0.4028, allocations: 47.44 kB / 1.046 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001142/0.403, allocations: 55.84 kB / 1.046 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.403, allocations: 4 kB / 1.046 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.403, allocations: 0 / 1.046 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.403, allocations: 0 / 1.046 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007351/0.4037, allocations: 0.6415 MB / 1.047 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.4038, allocations: 0 / 1.047 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005783/0.4043, allocations: 95.83 kB / 1.047 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.4043, allocations: 0 / 1.047 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.377e-05/0.4044, allocations: 15.92 kB / 1.047 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.4044, allocations: 3.938 kB / 1.047 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4044, allocations: 0 / 1.047 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00209/0.4065, allocations: 0.8341 MB / 1.048 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003491/0.4069, allocations: 188.5 kB / 1.048 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.407, allocations: 27.84 kB / 1.048 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005251/0.4075, allocations: 55.92 kB / 1.048 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.4076, allocations: 27.97 kB / 1.048 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.092e-05/0.4077, allocations: 7.984 kB / 1.048 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0005115/0.4082, allocations: 395 kB / 1.049 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4082, allocations: 0 / 1.049 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004846/0.4087, allocations: 100 kB / 1.049 GB, free: 11.07 MB / 0.8262 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.0004048/0.4091, allocations: 138.2 kB / 1.049 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002301/0.4114, allocations: 0.9438 MB / 1.05 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.4114, allocations: 0 / 1.05 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001019/0.4125, allocations: 423.6 kB / 1.05 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004878/0.413, allocations: 85.84 kB / 1.05 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002629/0.4156, allocations: 1.062 MB / 1.051 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005206/0.4161, allocations: 0.8544 MB / 1.052 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0004337/0.4166, allocations: 130.9 kB / 1.052 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002685/0.4169, allocations: 43.41 kB / 1.052 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of SimCode: time 3.91e-07/0.4169, allocations: 0 / 1.052 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of Templates: time 0.01768/0.4346, allocations: 8.779 MB / 1.061 GB, free: 14.67 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches