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.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.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.001077/0.001077, 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.008493/0.008493, allocations: 171.5 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.365/1.365, allocations: 223.3 MB / 240.3 MB, free: 5.324 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.414/2.414, allocations: 390.9 MB / 0.6663 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003357/0.0003357, allocations: 12 kB / 0.816 GB, free: 13.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6588/0.6591, allocations: 142.4 MB / 0.9551 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint): time 0.003622/0.6628, allocations: 2.508 MB / 0.9575 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1589/0.8218, allocations: 150.7 MB / 1.105 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003944/0.8222, allocations: 0 / 1.105 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001533/0.8238, allocations: 0.5017 MB / 1.105 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001703/0.8255, allocations: 0.5912 MB / 1.106 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001551/0.827, allocations: 0.5582 MB / 1.106 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001282/0.8283, allocations: 1.241 MB / 1.107 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002638/0.8286, allocations: 182.4 kB / 1.108 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004371/0.8291, allocations: 418.2 kB / 1.108 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007578/0.8298, allocations: 0.568 MB / 1.109 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.8299, allocations: 59.94 kB / 1.109 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002063/0.832, allocations: 1.251 MB / 1.11 GB, free: 164 kB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002994/0.8323, allocations: 331 kB / 1.11 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0005547/0.8329, allocations: 0.631 MB / 1.111 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00265/0.8355, allocations: 2.671 MB / 1.113 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.8356, allocations: 0 / 1.113 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.694e-06/0.8356, allocations: 0 / 1.113 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.466e-05/0.8356, allocations: 0 / 1.113 GB, free: 12.52 MB / 0.8731 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.003202/0.8388, allocations: 1.806 MB / 1.115 GB, free: 10.65 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.8388, allocations: 8.031 kB / 1.115 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01689/0.8557, allocations: 2.187 MB / 1.117 GB, free: 8.449 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002475/0.8582, allocations: 1.381 MB / 1.119 GB, free: 7.02 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/0.8583, allocations: 16 kB / 1.119 GB, free: 7.004 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.8584, allocations: 20 kB / 1.119 GB, free: 6.984 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005721/0.8641, allocations: 1.218 MB / 1.12 GB, free: 5.754 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.8642, allocations: 4 kB / 1.12 GB, free: 5.75 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.097e-05/0.8642, allocations: 4 kB / 1.12 GB, free: 5.746 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.8643, allocations: 7.938 kB / 1.12 GB, free: 5.738 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01037/0.8746, allocations: 2.061 MB / 1.122 GB, free: 3.676 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01058/0.8852, allocations: 3.655 MB / 1.126 GB, free: 15.86 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01094/0.8962, allocations: 2.165 MB / 1.128 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005182/0.9014, allocations: 1.043 MB / 1.129 GB, free: 12.63 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007097/0.9022, allocations: 0.5259 MB / 1.129 GB, free: 12 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005457/0.9076, allocations: 1.177 MB / 1.13 GB, free: 10.8 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=23): time 3.015e-06/0.9077, allocations: 0 / 1.13 GB, free: 10.8 MB / 0.8887 GB Notification: Performance of matching and sorting (n=23): time 0.01715/0.9248, allocations: 3.31 MB / 1.134 GB, free: 7.477 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.808e-05/0.9249, allocations: 114.8 kB / 1.134 GB, free: 7.34 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003966/0.9289, allocations: 2.409 MB / 1.136 GB, free: 4.922 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0002037/0.9291, allocations: 29.7 kB / 1.136 GB, free: 4.887 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005772/0.9297, allocations: 0.5543 MB / 1.137 GB, free: 4.324 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.9299, allocations: 67 kB / 1.137 GB, free: 4.258 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/0.93, allocations: 57.69 kB / 1.137 GB, free: 4.195 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.9301, allocations: 322 kB / 1.137 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005514/0.9356, allocations: 1.171 MB / 1.138 GB, free: 2.703 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005579/0.9412, allocations: 1.226 MB / 1.139 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01028/0.9515, allocations: 2.044 MB / 1.141 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/0.9516, allocations: 0 / 1.141 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.01365/0.9652, allocations: 2.916 MB / 1.144 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.000116/0.9654, allocations: 138.3 kB / 1.144 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.9654, allocations: 0 / 1.144 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003752/0.9692, allocations: 0.8147 MB / 1.145 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00341/0.9726, allocations: 499.3 kB / 1.146 GB, free: 11 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008831/0.9814, allocations: 7.453 MB / 1.153 GB, free: 3.016 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003664/0.9851, allocations: 467 kB / 1.153 GB, free: 2.559 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001383/0.9853, allocations: 35.97 kB / 1.153 GB, free: 2.523 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.9853, allocations: 4 kB / 1.153 GB, free: 2.52 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01164/0.997, allocations: 2.615 MB / 1.156 GB, free: 15.88 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.997, allocations: 3.984 kB / 1.156 GB, free: 15.88 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002182/0.9992, allocations: 0.6236 MB / 1.157 GB, free: 15.24 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003472/1.003, allocations: 499.3 kB / 1.157 GB, free: 14.75 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005281/1.008, allocations: 6.192 MB / 1.163 GB, free: 8.02 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003571/1.012, allocations: 451.2 kB / 1.163 GB, free: 7.578 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/1.012, allocations: 31.98 kB / 1.163 GB, free: 7.547 MB / 0.92 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 (deaBan.y,$PRE.deaBan.y,speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,appDryPt.stage,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,2), (1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0009284/1.013, allocations: 0.678 MB / 1.164 GB, free: 6.852 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002685/1.013, allocations: 142.2 kB / 1.164 GB, free: 6.711 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01099/1.024, allocations: 2.329 MB / 1.167 GB, free: 4.367 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/1.024, allocations: 7.984 kB / 1.167 GB, free: 4.359 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/1.024, allocations: 0 / 1.167 GB, free: 4.359 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/1.024, allocations: 0 / 1.167 GB, free: 4.359 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001721/1.026, allocations: 1.235 MB / 1.168 GB, free: 3.051 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/1.026, allocations: 0 / 1.168 GB, free: 3.051 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002978/1.029, allocations: 447.5 kB / 1.168 GB, free: 2.613 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/1.029, allocations: 4 kB / 1.168 GB, free: 2.609 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.418e-05/1.029, allocations: 19.97 kB / 1.168 GB, free: 2.59 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/1.029, allocations: 0 / 1.168 GB, free: 2.59 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.029, allocations: 3.938 kB / 1.168 GB, free: 2.586 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01081/1.04, allocations: 2.248 MB / 1.17 GB, free: 316 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008872/1.041, allocations: 419.2 kB / 1.171 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000222/1.041, allocations: 8 kB / 1.171 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003107/1.044, allocations: 403.5 kB / 1.171 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.265e-05/1.044, allocations: 19.97 kB / 1.171 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.82e-05/1.044, allocations: 27.97 kB / 1.171 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002651/1.047, allocations: 1.718 MB / 1.173 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.81e-07/1.047, allocations: 0 / 1.173 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001593/1.048, allocations: 0.539 MB / 1.173 GB, free: 13.17 MB / 0.9356 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 (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.0005407/1.049, allocations: 236.1 kB / 1.174 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.01903/1.068, allocations: 4.985 MB / 1.179 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/1.068, allocations: 4 kB / 1.179 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.005407/1.073, allocations: 1.145 MB / 1.18 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001707/1.075, allocations: 321.6 kB / 1.18 GB, free: 6.344 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02218/1.097, allocations: 5.033 MB / 1.185 GB, free: 1.281 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009913/1.098, allocations: 1.395 MB / 1.186 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.00176/1.1, allocations: 390.7 kB / 1.187 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004661/1.101, allocations: 79.38 kB / 1.187 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of SimCode: time 7.11e-07/1.101, allocations: 3.938 kB / 1.187 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of Templates: time 0.04398/1.145, allocations: 26.85 MB / 1.213 GB, free: 4.73 MB / 0.9669 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