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.001144/0.001144, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.00127/0.00127, allocations: 177.3 kB / 15.95 MB, free: 216 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.393/1.393, allocations: 223.2 MB / 239.9 MB, free: 5.438 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.409/2.409, allocations: 390.3 MB / 0.6653 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003743/0.0003745, allocations: 16 kB / 0.8146 GB, free: 14.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6417/0.6421, allocations: 142.3 MB / 0.9535 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint): time 0.002544/0.6447, allocations: 2.309 MB / 0.9558 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1427/0.7875, allocations: 130.6 MB / 1.083 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004295/0.7879, allocations: 4 kB / 1.083 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002238/0.7902, allocations: 0.5881 MB / 1.084 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001618/0.7918, allocations: 0.4907 MB / 1.084 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001663/0.7935, allocations: 454.9 kB / 1.085 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001345/0.7949, allocations: 0.8411 MB / 1.086 GB, free: 8.723 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002972/0.7952, allocations: 182.6 kB / 1.086 GB, free: 8.535 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000503/0.7957, allocations: 374.6 kB / 1.086 GB, free: 8.168 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008664/0.7966, allocations: 0.4902 MB / 1.087 GB, free: 7.676 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001842/0.7968, allocations: 36 kB / 1.087 GB, free: 7.641 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001952/0.7987, allocations: 0.7918 MB / 1.087 GB, free: 6.848 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0003158/0.7991, allocations: 255 kB / 1.088 GB, free: 6.598 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003034/0.7994, allocations: 273 kB / 1.088 GB, free: 6.324 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002045/0.8014, allocations: 1.82 MB / 1.09 GB, free: 4.5 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.8014, allocations: 0 / 1.09 GB, free: 4.5 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.863e-06/0.8015, allocations: 0 / 1.09 GB, free: 4.5 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.452e-05/0.8015, allocations: 0 / 1.09 GB, free: 4.5 MB / 0.8419 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.003573/0.8051, allocations: 1.75 MB / 1.091 GB, free: 2.688 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.8051, allocations: 12.03 kB / 1.091 GB, free: 2.676 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01589/0.821, allocations: 2.183 MB / 1.094 GB, free: 500 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002083/0.8232, allocations: 0.9726 MB / 1.095 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.41e-05/0.8232, allocations: 19.95 kB / 1.095 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001394/0.8234, allocations: 20 kB / 1.095 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00542/0.8288, allocations: 1.214 MB / 1.096 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.8288, allocations: 0 / 1.096 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.019e-05/0.8289, allocations: 7.984 kB / 1.096 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.8289, allocations: 8 kB / 1.096 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01006/0.839, allocations: 2.064 MB / 1.098 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009812/0.8488, allocations: 3.273 MB / 1.101 GB, free: 8.684 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01021/0.8591, allocations: 2.176 MB / 1.103 GB, free: 6.496 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006069/0.8597, allocations: 449.4 kB / 1.104 GB, free: 5.965 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005162/0.8649, allocations: 1.183 MB / 1.105 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=23): time 3.376e-06/0.8649, allocations: 0 / 1.105 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of matching and sorting (n=23): time 0.0162/0.8811, allocations: 3.388 MB / 1.108 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.586e-05/0.8813, allocations: 106.8 kB / 1.108 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004697/0.886, allocations: 1.999 MB / 1.11 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0002962/0.8863, allocations: 41.7 kB / 1.11 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007568/0.8871, allocations: 0.5504 MB / 1.111 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000209/0.8873, allocations: 71 kB / 1.111 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.8874, allocations: 8 kB / 1.111 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.8876, allocations: 318 kB / 1.111 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005201/0.8928, allocations: 1.171 MB / 1.112 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005214/0.898, allocations: 1.206 MB / 1.113 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005021/0.9031, allocations: 1.099 MB / 1.114 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.235e-06/0.9031, allocations: 0 / 1.114 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.01259/0.9157, allocations: 2.881 MB / 1.117 GB, free: 7.805 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001061/0.9159, allocations: 130.4 kB / 1.117 GB, free: 7.664 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.9159, allocations: 0 / 1.117 GB, free: 7.664 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003408/0.9193, allocations: 0.7679 MB / 1.118 GB, free: 6.883 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00325/0.9226, allocations: 0.4915 MB / 1.119 GB, free: 6.391 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009846/0.9324, allocations: 7.543 MB / 1.126 GB, free: 14.31 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003423/0.9359, allocations: 474.9 kB / 1.126 GB, free: 13.85 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001853/0.9361, allocations: 27.98 kB / 1.126 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.9361, allocations: 4 kB / 1.126 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01122/0.9474, allocations: 2.619 MB / 1.129 GB, free: 11.18 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.9474, allocations: 0 / 1.129 GB, free: 11.18 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002067/0.9495, allocations: 0.5963 MB / 1.13 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003162/0.9527, allocations: 0.4915 MB / 1.13 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005862/0.9586, allocations: 6.239 MB / 1.136 GB, free: 3.297 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003409/0.962, allocations: 459.2 kB / 1.137 GB, free: 2.848 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001996/0.9622, allocations: 31.97 kB / 1.137 GB, free: 2.816 MB / 0.8887 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.001121/0.9634, allocations: 0.6663 MB / 1.137 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004171/0.9638, allocations: 138.2 kB / 1.137 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0104/0.9742, allocations: 2.34 MB / 1.14 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/0.9743, allocations: 3.984 kB / 1.14 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.9743, allocations: 7.953 kB / 1.14 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.9743, allocations: 0 / 1.14 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001857/0.9762, allocations: 1.094 MB / 1.141 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.261e-06/0.9762, allocations: 4 kB / 1.141 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002761/0.979, allocations: 455.3 kB / 1.141 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.356e-06/0.979, allocations: 0 / 1.141 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.312e-05/0.9791, allocations: 19.97 kB / 1.141 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/0.9791, allocations: 7.953 kB / 1.141 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.9791, allocations: 0 / 1.141 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009991/0.9891, allocations: 2.242 MB / 1.143 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008574/0.99, allocations: 347.5 kB / 1.144 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000367/0.9904, allocations: 11.95 kB / 1.144 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002987/0.9934, allocations: 403.5 kB / 1.144 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.9935, allocations: 23.95 kB / 1.144 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.934e-05/0.9936, allocations: 27.97 kB / 1.144 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.002724/0.9963, allocations: 1.449 MB / 1.146 GB, free: 9.453 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.01e-07/0.9963, allocations: 0 / 1.146 GB, free: 9.453 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002049/0.9984, allocations: 0.5116 MB / 1.146 GB, free: 8.941 MB / 0.9044 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.000677/0.9991, allocations: 249 kB / 1.146 GB, free: 8.688 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.018/1.017, allocations: 4.984 MB / 1.151 GB, free: 3.574 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/1.017, allocations: 3.938 kB / 1.151 GB, free: 3.57 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.00502/1.022, allocations: 1.147 MB / 1.152 GB, free: 2.41 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001659/1.024, allocations: 298.8 kB / 1.153 GB, free: 2.117 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01898/1.043, allocations: 4.315 MB / 1.157 GB, free: 13.77 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001556/1.044, allocations: 1.417 MB / 1.158 GB, free: 12.32 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001836/1.046, allocations: 260.5 kB / 1.158 GB, free: 12.07 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005578/1.047, allocations: 63.36 kB / 1.158 GB, free: 12.01 MB / 0.92 GB Notification: Performance of SimCode: time 1.713e-06/1.047, allocations: 0 / 1.158 GB, free: 12.01 MB / 0.92 GB Notification: Performance of Templates: time 0.03913/1.086, allocations: 22.9 MB / 1.181 GB, free: 5.309 MB / 0.9356 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","../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches