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.001514/0.001514, allocations: 119.8 kB / 16.37 MB, free: 6.016 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.001728/0.001728, allocations: 193 kB / 17.31 MB, free: 5.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.387/1.387, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.51/2.51, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 68.58 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3127, allocations: 153 MB / 1.027 GB, free: 2.066 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.004034/0.3168, allocations: 2.901 MB / 1.03 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002932/0.3198, allocations: 2.228 MB / 1.032 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.3199, allocations: 4 kB / 1.032 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0006551/0.3206, allocations: 258.5 kB / 1.032 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001418/0.3208, allocations: 83.27 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.3218, allocations: 474.2 kB / 1.033 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005205/0.3223, allocations: 0.5142 MB / 1.033 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.3225, allocations: 56.72 kB / 1.033 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001895/0.3227, allocations: 199.4 kB / 1.033 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002404/0.3229, allocations: 211.2 kB / 1.033 GB, free: 11.13 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.092e-05/0.323, allocations: 40 kB / 1.034 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003704/0.3234, allocations: 247.7 kB / 1.034 GB, free: 10.85 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001669/0.3235, allocations: 155.6 kB / 1.034 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002039/0.3237, allocations: 218.9 kB / 1.034 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0007075/0.3245, allocations: 0.7517 MB / 1.035 GB, free: 9.73 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3245, allocations: 0 / 1.035 GB, free: 9.73 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.347e-06/0.3245, allocations: 7.922 kB / 1.035 GB, free: 9.723 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.3245, allocations: 4 kB / 1.035 GB, free: 9.719 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.001357/0.3259, allocations: 0.8321 MB / 1.036 GB, free: 8.824 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.3259, allocations: 8.031 kB / 1.036 GB, free: 8.816 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002057/0.328, allocations: 232.2 kB / 1.036 GB, free: 8.59 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005821/0.3286, allocations: 425.9 kB / 1.036 GB, free: 8.137 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001155/0.3287, allocations: 83.94 kB / 1.036 GB, free: 8.043 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.815e-05/0.3287, allocations: 8.375 kB / 1.036 GB, free: 8.035 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/0.33, allocations: 0.5325 MB / 1.037 GB, free: 7.496 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.33, allocations: 0 / 1.037 GB, free: 7.496 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.037e-05/0.33, allocations: 7.984 kB / 1.037 GB, free: 7.488 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.33, allocations: 4 kB / 1.037 GB, free: 7.484 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001922/0.332, allocations: 0.7592 MB / 1.038 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00231/0.3343, allocations: 1.257 MB / 1.039 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005074/0.3394, allocations: 1.017 MB / 1.04 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009025/0.3403, allocations: 412.5 kB / 1.04 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.665e-05/0.3403, allocations: 3.984 kB / 1.04 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001278/0.3416, allocations: 0.5262 MB / 1.041 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=21): time 2.845e-06/0.3416, allocations: 0 / 1.041 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of matching and sorting (n=21): time 0.003048/0.3447, allocations: 1.177 MB / 1.042 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.3448, allocations: 59.34 kB / 1.042 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006378/0.3454, allocations: 0.5213 MB / 1.043 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 6.055e-05/0.3455, allocations: 33.7 kB / 1.043 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001967/0.3457, allocations: 192.5 kB / 1.043 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.034e-05/0.3458, allocations: 71.02 kB / 1.043 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/0.3459, allocations: 73.64 kB / 1.043 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001766/0.3461, allocations: 350.8 kB / 1.043 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001001/0.3471, allocations: 464.5 kB / 1.044 GB, free: 484 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001096/0.3482, allocations: 0.5033 MB / 1.044 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001778/0.35, allocations: 0.7558 MB / 1.045 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.35, allocations: 0 / 1.045 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002367/0.3524, allocations: 1.072 MB / 1.046 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.586e-05/0.3525, allocations: 41.69 kB / 1.046 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.3525, allocations: 4 kB / 1.046 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.3525, allocations: 3.938 kB / 1.046 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005879/0.3531, allocations: 87.89 kB / 1.046 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.3531, allocations: 0 / 1.046 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004914/0.3536, allocations: 67.77 kB / 1.046 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.21e-05/0.3537, allocations: 15.98 kB / 1.046 GB, free: 13.89 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.0002899/0.354, allocations: 217.6 kB / 1.046 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.122e-05/0.3541, allocations: 43.44 kB / 1.046 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.685e-05/0.3542, allocations: 59.84 kB / 1.046 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3542, allocations: 3.938 kB / 1.046 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.3542, allocations: 0 / 1.046 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.3542, allocations: 4 kB / 1.046 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006415/0.3549, allocations: 0.6414 MB / 1.047 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3549, allocations: 0 / 1.047 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000573/0.3554, allocations: 99.83 kB / 1.047 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.3555, allocations: 0 / 1.047 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.788e-05/0.3555, allocations: 11.92 kB / 1.047 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.3555, allocations: 3.984 kB / 1.047 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.3555, allocations: 0 / 1.047 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002003/0.3575, allocations: 0.8339 MB / 1.048 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000293/0.3578, allocations: 184.5 kB / 1.048 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.509e-05/0.3579, allocations: 15.92 kB / 1.048 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000519/0.3584, allocations: 59.92 kB / 1.048 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.466e-05/0.3585, allocations: 23.97 kB / 1.048 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.844e-05/0.3586, allocations: 7.984 kB / 1.048 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004406/0.359, allocations: 395 kB / 1.049 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.359, allocations: 4 kB / 1.049 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004089/0.3595, allocations: 100 kB / 1.049 GB, free: 11.11 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.0002843/0.3597, allocations: 143.1 kB / 1.049 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002128/0.3619, allocations: 0.9438 MB / 1.05 GB, free: 10 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3619, allocations: 0 / 1.05 GB, free: 10 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0009807/0.3629, allocations: 426.1 kB / 1.05 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004494/0.3633, allocations: 96.25 kB / 1.05 GB, free: 9.5 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002367/0.3657, allocations: 1.051 MB / 1.051 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004722/0.3662, allocations: 0.8622 MB / 1.052 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0004114/0.3666, allocations: 122.9 kB / 1.052 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001681/0.3668, allocations: 51.27 kB / 1.052 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of SimCode: time 2.01e-07/0.3668, allocations: 0 / 1.052 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of Templates: time 0.01464/0.3815, allocations: 8.792 MB / 1.061 GB, free: 14.7 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 cvode -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