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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.336/2.336, allocations: 387.1 MB / 399.7 MB, free: 9.465 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 184.9 kB / 492.3 MB, free: 0.6133 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 221.3 MB / 0.7872 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000885/0.0008849, allocations: 107.4 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.745e-05/4.751e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.319, allocations: 142.3 MB / 1.212 GB, free: 38.49 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.587/4.906, allocations: 1.725 GB / 2.937 GB, free: 141.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003107/4.906, allocations: 100.4 kB / 2.937 GB, free: 141.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1979/5.104, allocations: 105.6 MB / 3.04 GB, free: 34.95 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.133e-06/5.104, allocations: 4 kB / 3.04 GB, free: 34.95 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.676e-05/5.104, allocations: 16 kB / 3.04 GB, free: 34.93 MB / 1.151 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.002289/5.107, allocations: 1.386 MB / 3.042 GB, free: 33.49 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/5.107, allocations: 8.031 kB / 3.042 GB, free: 33.48 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01362/5.12, allocations: 2.089 MB / 3.044 GB, free: 31.39 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00283/5.123, allocations: 1.297 MB / 3.045 GB, free: 30.05 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.018e-05/5.123, allocations: 16 kB / 3.045 GB, free: 30.03 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.581e-05/5.123, allocations: 28 kB / 3.045 GB, free: 30 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007687/5.124, allocations: 0.4885 MB / 3.045 GB, free: 29.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/5.124, allocations: 0 / 3.045 GB, free: 29.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.409e-05/5.124, allocations: 4 kB / 3.045 GB, free: 29.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.218e-06/5.124, allocations: 11.89 kB / 3.045 GB, free: 29.48 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007613/5.125, allocations: 0.5903 MB / 3.046 GB, free: 28.89 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008936/5.134, allocations: 3.655 MB / 3.05 GB, free: 25.08 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001495/5.135, allocations: 0.7524 MB / 3.05 GB, free: 24.32 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004077/5.136, allocations: 320.8 kB / 3.051 GB, free: 24 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002071/5.136, allocations: 105.1 kB / 3.051 GB, free: 23.88 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005514/5.137, allocations: 451 kB / 3.051 GB, free: 23.42 MB / 1.151 GB Notification: Performance of pre-optimization done (n=23): time 2.655e-06/5.137, allocations: 0 / 3.051 GB, free: 23.42 MB / 1.151 GB Notification: Performance of matching and sorting (n=23): time 0.002241/5.139, allocations: 0.8738 MB / 3.052 GB, free: 22.54 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/5.139, allocations: 110.8 kB / 3.052 GB, free: 22.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002613/5.142, allocations: 2.173 MB / 3.054 GB, free: 20.22 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.000151/5.142, allocations: 37.7 kB / 3.054 GB, free: 20.18 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004338/5.142, allocations: 0.5543 MB / 3.055 GB, free: 19.62 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.08e-05/5.142, allocations: 70.98 kB / 3.055 GB, free: 19.55 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.014e-05/5.142, allocations: 12 kB / 3.055 GB, free: 19.54 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.79e-05/5.142, allocations: 318 kB / 3.055 GB, free: 19.22 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005903/5.143, allocations: 448.2 kB / 3.056 GB, free: 18.78 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005832/5.144, allocations: 476.1 kB / 3.056 GB, free: 18.31 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005252/5.144, allocations: 418.7 kB / 3.056 GB, free: 17.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/5.144, allocations: 0 / 3.056 GB, free: 17.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002781/5.147, allocations: 1.414 MB / 3.058 GB, free: 16.45 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.863e-05/5.147, allocations: 138.4 kB / 3.058 GB, free: 16.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/5.147, allocations: 0 / 3.058 GB, free: 16.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002599/5.15, allocations: 0.7484 MB / 3.059 GB, free: 15.54 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00292/5.153, allocations: 0.4915 MB / 3.059 GB, free: 15.05 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001741/5.154, allocations: 2.662 MB / 3.062 GB, free: 12.29 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003193/5.158, allocations: 467.1 kB / 3.062 GB, free: 11.83 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001249/5.158, allocations: 31.98 kB / 3.062 GB, free: 11.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/5.158, allocations: 4 kB / 3.062 GB, free: 11.79 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001893/5.16, allocations: 1.184 MB / 3.063 GB, free: 10.59 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/5.16, allocations: 3.938 kB / 3.063 GB, free: 10.59 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001792/5.161, allocations: 0.6353 MB / 3.064 GB, free: 9.941 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002801/5.164, allocations: 0.4954 MB / 3.064 GB, free: 9.445 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003976/5.168, allocations: 6.166 MB / 3.07 GB, free: 2.746 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003286/5.172, allocations: 455.3 kB / 3.071 GB, free: 2.301 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/5.172, allocations: 35.97 kB / 3.071 GB, free: 2.266 MB / 1.151 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 () * 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.0002585/5.172, allocations: 164.3 kB / 3.071 GB, free: 2.094 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002306/5.172, allocations: 138.3 kB / 3.071 GB, free: 1.957 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001741/5.174, allocations: 0.914 MB / 3.072 GB, free: 1.023 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/5.174, allocations: 8.188 kB / 3.072 GB, free: 1.016 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-06/5.174, allocations: 0 / 3.072 GB, free: 1.016 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/5.174, allocations: 3.984 kB / 3.072 GB, free: 1.012 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.8386/6.013, allocations: 1.225 MB / 3.073 GB, free: 383.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.577e-05/6.013, allocations: 1.219 kB / 3.073 GB, free: 383.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003284/6.016, allocations: 448.8 kB / 3.074 GB, free: 383.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.09e-05/6.016, allocations: 4.891 kB / 3.074 GB, free: 383.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002273/6.016, allocations: 19.42 kB / 3.074 GB, free: 383.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.826e-06/6.016, allocations: 0.875 kB / 3.074 GB, free: 383.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.197e-06/6.016, allocations: 0.7812 kB / 3.074 GB, free: 383.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003567/6.02, allocations: 0.8345 MB / 3.075 GB, free: 383.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00203/6.022, allocations: 426 kB / 3.075 GB, free: 383 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008408/6.023, allocations: 8.438 kB / 3.075 GB, free: 383 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004009/6.027, allocations: 404 kB / 3.075 GB, free: 383 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/6.027, allocations: 18.67 kB / 3.075 GB, free: 383 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001328/6.027, allocations: 34 kB / 3.075 GB, free: 383 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.006308/6.034, allocations: 1.672 MB / 3.077 GB, free: 382.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.663e-06/6.034, allocations: 3.844 kB / 3.077 GB, free: 382.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004699/6.038, allocations: 0.5837 MB / 3.078 GB, free: 382.9 MB / 1.151 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) * 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.003036/6.041, allocations: 0.9878 MB / 3.079 GB, free: 382.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.006106/6.047, allocations: 2.364 MB / 3.081 GB, free: 382.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 8.016e-06/6.048, allocations: 0 / 3.081 GB, free: 382.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0008511/6.048, allocations: 421 kB / 3.081 GB, free: 382.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00245/6.051, allocations: 317.7 kB / 3.082 GB, free: 382.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01895/6.07, allocations: 3.562 MB / 3.085 GB, free: 381.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002039/6.072, allocations: 1.421 MB / 3.087 GB, free: 381 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.004904/6.077, allocations: 0.984 MB / 3.087 GB, free: 380.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000511/6.077, allocations: 61.52 kB / 3.088 GB, free: 380.9 MB / 1.151 GB Notification: Performance of SimCode: time 1.072e-06/6.077, allocations: 4.562 kB / 3.088 GB, free: 380.9 MB / 1.151 GB Notification: Performance of Templates: time 0.08859/6.166, allocations: 39.72 MB / 3.126 GB, free: 379.2 MB / 1.151 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