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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: 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_10_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_10_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.001306/0.001306, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.0121/0.0121, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.542/1.542, 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.1-maint.10.0.x/package.mo): time 2.685/2.685, allocations: 437.8 MB / 0.7121 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003697/0.0003698, allocations: 15.98 kB / 0.8728 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7683/0.7687, allocations: 153.8 MB / 1.023 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.003254/0.772, allocations: 2.562 MB / 1.026 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003572/0.7756, allocations: 2.186 MB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002633/0.7759, allocations: 0 / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0008877/0.7768, allocations: 260.7 kB / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002728/0.7771, allocations: 71.41 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001203/0.7783, allocations: 430.3 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007195/0.7791, allocations: 495.9 kB / 1.029 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.7792, allocations: 56.66 kB / 1.029 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003536/0.7796, allocations: 179.4 kB / 1.029 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003636/0.78, allocations: 203.3 kB / 1.029 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001261/0.7801, allocations: 24 kB / 1.029 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005177/0.7806, allocations: 227.7 kB / 1.03 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002429/0.7809, allocations: 143.6 kB / 1.03 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003388/0.7812, allocations: 224.6 kB / 1.03 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009232/0.7822, allocations: 0.7203 MB / 1.031 GB, free: 8.129 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.7822, allocations: 0 / 1.031 GB, free: 8.129 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.773e-06/0.7822, allocations: 4 kB / 1.031 GB, free: 8.125 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.185e-05/0.7822, allocations: 0 / 1.031 GB, free: 8.125 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.001482/0.7837, allocations: 0.774 MB / 1.031 GB, free: 7.289 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.7837, allocations: 11.98 kB / 1.031 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002225/0.786, allocations: 240.2 kB / 1.032 GB, free: 7.043 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006607/0.7866, allocations: 429.9 kB / 1.032 GB, free: 6.582 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001373/0.7868, allocations: 79.94 kB / 1.032 GB, free: 6.492 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.489e-05/0.7869, allocations: 12.38 kB / 1.032 GB, free: 6.48 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001364/0.7882, allocations: 0.5669 MB / 1.033 GB, free: 5.91 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.7883, allocations: 0 / 1.033 GB, free: 5.91 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.49e-05/0.7883, allocations: 8 kB / 1.033 GB, free: 5.902 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.7883, allocations: 0 / 1.033 GB, free: 5.902 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002139/0.7905, allocations: 0.8119 MB / 1.033 GB, free: 5.09 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002478/0.793, allocations: 1.277 MB / 1.035 GB, free: 3.762 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005454/0.7984, allocations: 1.084 MB / 1.036 GB, free: 2.668 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001075/0.7995, allocations: 432.9 kB / 1.036 GB, free: 2.242 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.962e-05/0.7996, allocations: 7.984 kB / 1.036 GB, free: 2.234 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001304/0.8009, allocations: 0.564 MB / 1.037 GB, free: 1.66 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=21): time 3.216e-06/0.8009, allocations: 0 / 1.037 GB, free: 1.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21): time 0.003562/0.8045, allocations: 1.262 MB / 1.038 GB, free: 400 kB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/0.8045, allocations: 55.41 kB / 1.038 GB, free: 332 kB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007582/0.8053, allocations: 0.5136 MB / 1.039 GB, free: 15.8 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 8.582e-05/0.8054, allocations: 37.69 kB / 1.039 GB, free: 15.76 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001831/0.8056, allocations: 204.4 kB / 1.039 GB, free: 15.55 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 9.936e-05/0.8057, allocations: 71.11 kB / 1.039 GB, free: 15.48 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.965e-05/0.8058, allocations: 21.7 kB / 1.039 GB, free: 15.45 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.8059, allocations: 362.7 kB / 1.039 GB, free: 15.09 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001134/0.8071, allocations: 492.5 kB / 1.04 GB, free: 14.61 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001205/0.8083, allocations: 0.5209 MB / 1.04 GB, free: 14.08 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002047/0.8103, allocations: 0.8135 MB / 1.041 GB, free: 13.26 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.8103, allocations: 0 / 1.041 GB, free: 13.26 MB / 0.795 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002587/0.8129, allocations: 1.127 MB / 1.042 GB, free: 12.12 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.227e-05/0.813, allocations: 45.69 kB / 1.042 GB, free: 12.07 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.505e-06/0.813, allocations: 4 kB / 1.042 GB, free: 12.07 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.8131, allocations: 3.938 kB / 1.042 GB, free: 12.06 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006195/0.8137, allocations: 107.8 kB / 1.042 GB, free: 11.96 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.8137, allocations: 4 kB / 1.042 GB, free: 11.95 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006388/0.8143, allocations: 67.84 kB / 1.042 GB, free: 11.89 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.93e-05/0.8144, allocations: 19.97 kB / 1.042 GB, free: 11.87 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.0004212/0.8149, allocations: 218.2 kB / 1.042 GB, free: 11.65 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.815, allocations: 47.44 kB / 1.043 GB, free: 11.6 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000105/0.8151, allocations: 51.91 kB / 1.043 GB, free: 11.55 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.8151, allocations: 7.938 kB / 1.043 GB, free: 11.54 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.208e-06/0.8151, allocations: 0 / 1.043 GB, free: 11.54 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.8152, allocations: 7.922 kB / 1.043 GB, free: 11.54 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007635/0.8159, allocations: 0.6415 MB / 1.043 GB, free: 10.84 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.8159, allocations: 0 / 1.043 GB, free: 10.84 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006111/0.8166, allocations: 103.9 kB / 1.043 GB, free: 10.74 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.8166, allocations: 0 / 1.043 GB, free: 10.74 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.863e-05/0.8166, allocations: 15.92 kB / 1.043 GB, free: 10.73 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.8166, allocations: 4 kB / 1.043 GB, free: 10.72 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.261e-06/0.8166, allocations: 7.938 kB / 1.043 GB, free: 10.71 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002264/0.8189, allocations: 0.8789 MB / 1.044 GB, free: 9.816 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002557/0.8192, allocations: 192.4 kB / 1.044 GB, free: 9.609 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.649e-05/0.8193, allocations: 11.94 kB / 1.044 GB, free: 9.598 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006058/0.8199, allocations: 87.91 kB / 1.044 GB, free: 9.512 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.93e-05/0.82, allocations: 19.97 kB / 1.045 GB, free: 9.492 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.63e-05/0.82, allocations: 11.98 kB / 1.045 GB, free: 9.48 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004848/0.8205, allocations: 395 kB / 1.045 GB, free: 9.094 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8205, allocations: 0 / 1.045 GB, free: 9.094 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004468/0.821, allocations: 96 kB / 1.045 GB, free: 9 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.0003162/0.8213, allocations: 143.1 kB / 1.045 GB, free: 8.848 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002474/0.8238, allocations: 0.9934 MB / 1.046 GB, free: 7.844 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.8238, allocations: 0 / 1.046 GB, free: 7.844 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.00112/0.8249, allocations: 447.6 kB / 1.047 GB, free: 7.406 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005507/0.8255, allocations: 85.8 kB / 1.047 GB, free: 7.324 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002494/0.828, allocations: 1.189 MB / 1.048 GB, free: 6.109 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004816/0.8285, allocations: 0.8622 MB / 1.049 GB, free: 5.223 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0005458/0.829, allocations: 122.9 kB / 1.049 GB, free: 5.105 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/0.8292, allocations: 39.41 kB / 1.049 GB, free: 5.07 MB / 0.795 GB Notification: Performance of SimCode: time 2.31e-07/0.8292, allocations: 0 / 1.049 GB, free: 5.07 MB / 0.795 GB Notification: Performance of Templates: time 0.01562/0.8448, allocations: 8.154 MB / 1.057 GB, free: 13 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile (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 & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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