Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.ApparatusDryPoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow.y|appDryPt.TDry|appDryPt.hDry|appDryPt.hEvaIn|Q_flow.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow.y|appDryPt.TDry|appDryPt.hDry|appDryPt.hEvaIn|Q_flow.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001185, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001349/0.001349, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 223.3 MB / 240 MB, free: 5.207 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.46/2.46, allocations: 390.9 MB / 0.666 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003387/0.0003389, allocations: 8 kB / 0.8154 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6719/0.6722, allocations: 142.4 MB / 0.9545 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint): time 0.002554/0.6748, allocations: 2.41 MB / 0.9568 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1551/0.83, allocations: 140.4 MB / 1.094 GB, free: 272 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003979/0.8304, allocations: 4 kB / 1.094 GB, free: 268 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.00142/0.8319, allocations: 473.9 kB / 1.094 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001398/0.8333, allocations: 481.6 kB / 1.095 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001395/0.8347, allocations: 466.7 kB / 1.095 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001131/0.8358, allocations: 1.057 MB / 1.096 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002619/0.8361, allocations: 178.6 kB / 1.097 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003929/0.8365, allocations: 418.4 kB / 1.097 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007281/0.8372, allocations: 0.5526 MB / 1.097 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.618e-05/0.8373, allocations: 60 kB / 1.098 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001614/0.839, allocations: 0.8266 MB / 1.098 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003069/0.8393, allocations: 322.9 kB / 1.099 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002424/0.8395, allocations: 280.9 kB / 1.099 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002071/0.8416, allocations: 2.143 MB / 1.101 GB, free: 9.027 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.8416, allocations: 0 / 1.101 GB, free: 9.027 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8416, allocations: 0 / 1.101 GB, free: 9.027 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.786e-05/0.8417, allocations: 0 / 1.101 GB, free: 9.027 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.003148/0.8448, allocations: 1.824 MB / 1.103 GB, free: 7.141 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.8449, allocations: 8.031 kB / 1.103 GB, free: 7.133 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01389/0.8588, allocations: 2.183 MB / 1.105 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002454/0.8613, allocations: 1.32 MB / 1.106 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.945e-05/0.8613, allocations: 19.95 kB / 1.106 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.883e-05/0.8614, allocations: 20 kB / 1.106 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004532/0.8659, allocations: 1.21 MB / 1.107 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.866, allocations: 0 / 1.107 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.408e-05/0.866, allocations: 15.98 kB / 1.107 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.916e-06/0.8661, allocations: 4 kB / 1.107 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008446/0.8745, allocations: 2.064 MB / 1.109 GB, free: 236 kB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009685/0.8842, allocations: 3.652 MB / 1.113 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009052/0.8933, allocations: 2.161 MB / 1.115 GB, free: 10.24 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004333/0.8976, allocations: 1.05 MB / 1.116 GB, free: 9.188 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007888/0.8985, allocations: 0.522 MB / 1.117 GB, free: 8.555 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004591/0.9031, allocations: 1.175 MB / 1.118 GB, free: 7.359 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=23): time 2.935e-06/0.9031, allocations: 0 / 1.118 GB, free: 7.359 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23): time 0.01441/0.9175, allocations: 3.301 MB / 1.121 GB, free: 4.043 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.024e-05/0.9176, allocations: 114.8 kB / 1.121 GB, free: 3.906 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00421/0.9218, allocations: 2.397 MB / 1.123 GB, free: 1.5 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001383/0.922, allocations: 33.7 kB / 1.124 GB, free: 1.461 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006878/0.9227, allocations: 0.5466 MB / 1.124 GB, free: 0.9062 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.9228, allocations: 74.98 kB / 1.124 GB, free: 0.832 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.657e-05/0.9229, allocations: 8 kB / 1.124 GB, free: 0.8242 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.923, allocations: 322 kB / 1.124 GB, free: 0.5039 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004733/0.9277, allocations: 1.167 MB / 1.126 GB, free: 15.34 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004595/0.9323, allocations: 1.21 MB / 1.127 GB, free: 14.12 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004258/0.9366, allocations: 1.087 MB / 1.128 GB, free: 13.03 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.9366, allocations: 0 / 1.128 GB, free: 13.03 MB / 0.8887 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.01098/0.9476, allocations: 2.885 MB / 1.131 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 9.357e-05/0.9477, allocations: 130.4 kB / 1.131 GB, free: 9.973 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.9478, allocations: 0 / 1.131 GB, free: 9.973 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003419/0.9512, allocations: 0.7952 MB / 1.132 GB, free: 9.164 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002823/0.954, allocations: 0.4915 MB / 1.132 GB, free: 8.672 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009025/0.9631, allocations: 7.432 MB / 1.139 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003086/0.9662, allocations: 467 kB / 1.14 GB, free: 252 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001371/0.9663, allocations: 31.97 kB / 1.14 GB, free: 220 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/0.9663, allocations: 4 kB / 1.14 GB, free: 216 kB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009563/0.9759, allocations: 2.608 MB / 1.142 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.9759, allocations: 4 kB / 1.142 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001965/0.9779, allocations: 0.6315 MB / 1.143 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002775/0.9807, allocations: 499.4 kB / 1.143 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005468/0.9862, allocations: 6.189 MB / 1.149 GB, free: 5.719 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00288/0.9891, allocations: 455.2 kB / 1.15 GB, free: 5.273 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/0.9892, allocations: 39.92 kB / 1.15 GB, free: 5.234 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,appDryPt.stage,speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled,$PRE.deaBan.y,deaBan.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 2,1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0009821/0.9902, allocations: 0.6661 MB / 1.151 GB, free: 4.551 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003883/0.9906, allocations: 134.3 kB / 1.151 GB, free: 4.418 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009082/0.9997, allocations: 2.336 MB / 1.153 GB, free: 2.066 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.9997, allocations: 3.953 kB / 1.153 GB, free: 2.062 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.9997, allocations: 0 / 1.153 GB, free: 2.062 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.9997, allocations: 4 kB / 1.153 GB, free: 2.059 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001841/1.002, allocations: 1.223 MB / 1.154 GB, free: 0.7617 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/1.002, allocations: 4 kB / 1.154 GB, free: 0.7578 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002554/1.004, allocations: 447.4 kB / 1.155 GB, free: 328 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.167e-05/1.004, allocations: 4 kB / 1.155 GB, free: 324 kB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-05/1.004, allocations: 15.97 kB / 1.155 GB, free: 308 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/1.004, allocations: 11.95 kB / 1.155 GB, free: 296 kB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/1.004, allocations: 0 / 1.155 GB, free: 296 kB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009124/1.013, allocations: 2.241 MB / 1.157 GB, free: 14.02 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008528/1.014, allocations: 423.1 kB / 1.157 GB, free: 13.59 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000368/1.015, allocations: 8 kB / 1.157 GB, free: 13.58 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002742/1.017, allocations: 399.5 kB / 1.158 GB, free: 13.19 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.141e-05/1.018, allocations: 19.97 kB / 1.158 GB, free: 13.17 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.486e-05/1.018, allocations: 27.97 kB / 1.158 GB, free: 13.14 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.003075/1.021, allocations: 1.711 MB / 1.159 GB, free: 11.43 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.7e-07/1.021, allocations: 0 / 1.159 GB, free: 11.43 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001885/1.023, allocations: 0.535 MB / 1.16 GB, free: 10.9 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,appDryPt.stage,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,deaBan.y) * Number of discrete states: 7 (deaBan.y,speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005849/1.023, allocations: 250.6 kB / 1.16 GB, free: 10.64 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01583/1.039, allocations: 4.975 MB / 1.165 GB, free: 5.539 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/1.039, allocations: 0 / 1.165 GB, free: 5.539 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.004525/1.044, allocations: 1.151 MB / 1.166 GB, free: 4.375 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001874/1.045, allocations: 319.6 kB / 1.166 GB, free: 4.062 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01916/1.065, allocations: 4.888 MB / 1.171 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001126/1.066, allocations: 1.399 MB / 1.173 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001916/1.068, allocations: 382.8 kB / 1.173 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005325/1.068, allocations: 83.38 kB / 1.173 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of SimCode: time 8.12e-07/1.068, allocations: 0 / 1.173 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of Templates: time 0.04435/1.113, allocations: 26.28 MB / 1.199 GB, free: 3.16 MB / 0.9512 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDryPoint.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches