Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.HeatExchangers.DXCoils.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_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.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_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007279/0.007279, allocations: 103.8 kB / 15.74 MB, free: 6.445 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.001681/0.001681, allocations: 196.3 kB / 16.67 MB, free: 6.352 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.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.361/2.361, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 68.39 kB / 0.9509 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.2599, allocations: 140.4 MB / 1.088 GB, free: 1.48 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.004097/0.264, allocations: 2.897 MB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003078/0.2672, allocations: 2.24 MB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.2673, allocations: 4 kB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007392/0.268, allocations: 278.5 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001513/0.2682, allocations: 67.3 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/Fluid/HeatExchangers/DXCoils/BaseClasses/Functions/warnIfPerformanceOutOfBounds.mo:2:1-41:33:writable] Warning: Pure function 'Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Functions.warnIfPerformanceOutOfBounds' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001287/0.2695, allocations: 496.2 kB / 1.094 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005551/0.2701, allocations: 0.5141 MB / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.2702, allocations: 52.72 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001914/0.2704, allocations: 195.5 kB / 1.095 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002416/0.2707, allocations: 211.3 kB / 1.095 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.361e-05/0.2707, allocations: 36 kB / 1.095 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003842/0.2711, allocations: 251.7 kB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000185/0.2713, allocations: 155.6 kB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002061/0.2715, allocations: 218.9 kB / 1.095 GB, free: 9.879 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008239/0.2724, allocations: 0.7668 MB / 1.096 GB, free: 9.109 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2724, allocations: 0 / 1.096 GB, free: 9.109 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2724, allocations: 0 / 1.096 GB, free: 9.109 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.244e-05/0.2724, allocations: 0 / 1.096 GB, free: 9.109 MB / 0.8575 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.001474/0.2739, allocations: 0.8475 MB / 1.097 GB, free: 8.199 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.2739, allocations: 8.031 kB / 1.097 GB, free: 8.191 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002253/0.2762, allocations: 236.4 kB / 1.097 GB, free: 7.961 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006542/0.2769, allocations: 430.3 kB / 1.098 GB, free: 7.5 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001109/0.277, allocations: 91.62 kB / 1.098 GB, free: 7.398 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.668e-05/0.2771, allocations: 16 kB / 1.098 GB, free: 7.383 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001363/0.2784, allocations: 0.5246 MB / 1.098 GB, free: 6.852 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.2784, allocations: 0 / 1.098 GB, free: 6.852 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.411e-05/0.2785, allocations: 7.984 kB / 1.098 GB, free: 6.844 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.2785, allocations: 0 / 1.098 GB, free: 6.844 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002056/0.2806, allocations: 0.7689 MB / 1.099 GB, free: 6.074 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002228/0.2828, allocations: 1.253 MB / 1.1 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005513/0.2883, allocations: 1.021 MB / 1.101 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001015/0.2894, allocations: 396.6 kB / 1.102 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.914e-05/0.2894, allocations: 4 kB / 1.102 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001297/0.2907, allocations: 0.5356 MB / 1.102 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=21): time 2.965e-06/0.2907, allocations: 0 / 1.102 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of matching and sorting (n=21): time 0.003358/0.2941, allocations: 1.187 MB / 1.103 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.2941, allocations: 55.41 kB / 1.103 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005953/0.2947, allocations: 0.5175 MB / 1.104 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.142e-05/0.2948, allocations: 37.69 kB / 1.104 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000175/0.295, allocations: 212.3 kB / 1.104 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.362e-05/0.2951, allocations: 67.42 kB / 1.104 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/0.2953, allocations: 65.66 kB / 1.104 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.2954, allocations: 362.7 kB / 1.105 GB, free: 268 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001185/0.2966, allocations: 472.4 kB / 1.105 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001181/0.2978, allocations: 0.4896 MB / 1.105 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002028/0.2998, allocations: 0.7587 MB / 1.106 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2998, allocations: 0 / 1.106 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002587/0.3024, allocations: 1.092 MB / 1.107 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 5.559e-05/0.3025, allocations: 45.69 kB / 1.107 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.3025, allocations: 0 / 1.107 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.3025, allocations: 0 / 1.107 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006467/0.3032, allocations: 91.89 kB / 1.107 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.3032, allocations: 0 / 1.107 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005597/0.3038, allocations: 55.89 kB / 1.107 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.884e-05/0.3038, allocations: 23.97 kB / 1.107 GB, free: 13.21 MB / 0.8731 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.0003374/0.3042, allocations: 209.7 kB / 1.108 GB, free: 13 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.3043, allocations: 47.66 kB / 1.108 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.014e-05/0.3044, allocations: 51.92 kB / 1.108 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.3044, allocations: 4 kB / 1.108 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.3044, allocations: 4 kB / 1.108 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.3044, allocations: 3.984 kB / 1.108 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006796/0.3051, allocations: 0.6376 MB / 1.108 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.3051, allocations: 7.938 kB / 1.108 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006249/0.3057, allocations: 91.83 kB / 1.108 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.3058, allocations: 0 / 1.108 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.496e-05/0.3058, allocations: 19.92 kB / 1.109 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.3058, allocations: 4 kB / 1.109 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3058, allocations: 0 / 1.109 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002215/0.308, allocations: 0.8305 MB / 1.109 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002757/0.3083, allocations: 196.6 kB / 1.11 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.8e-05/0.3084, allocations: 8 kB / 1.11 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005791/0.309, allocations: 67.91 kB / 1.11 GB, free: 10.94 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.339e-05/0.3091, allocations: 19.97 kB / 1.11 GB, free: 10.92 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.865e-05/0.3091, allocations: 15.98 kB / 1.11 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004179/0.3095, allocations: 383.1 kB / 1.11 GB, free: 10.53 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3096, allocations: 0 / 1.11 GB, free: 10.53 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004208/0.31, allocations: 107.9 kB / 1.11 GB, free: 10.43 MB / 0.8731 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.0004043/0.3104, allocations: 165.7 kB / 1.11 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002424/0.3128, allocations: 0.9401 MB / 1.111 GB, free: 9.312 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3128, allocations: 0 / 1.111 GB, free: 9.312 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001101/0.314, allocations: 419.6 kB / 1.112 GB, free: 8.902 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004593/0.3144, allocations: 91.22 kB / 1.112 GB, free: 8.816 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002281/0.3167, allocations: 1.066 MB / 1.113 GB, free: 7.723 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000404/0.3171, allocations: 0.8619 MB / 1.114 GB, free: 6.836 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.00044/0.3176, allocations: 134.9 kB / 1.114 GB, free: 6.707 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001799/0.3178, allocations: 39.41 kB / 1.114 GB, free: 6.668 MB / 0.8731 GB Notification: Performance of SimCode: time 3.81e-07/0.3178, allocations: 0 / 1.114 GB, free: 6.668 MB / 0.8731 GB Notification: Performance of Templates: time 0.01435/0.3321, allocations: 8.857 MB / 1.122 GB, free: 13.93 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityWaterCooled.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches