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.251/2.251, allocations: 387.4 MB / 394.9 MB, free: 13.44 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.001072/0.001072, allocations: 184.6 kB / 487.4 MB, free: 5.066 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.57/1.57, allocations: 221.5 MB / 0.7824 GB, free: 1.023 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008733/0.0008735, allocations: 103.8 kB / 0.9219 GB, free: 2.25 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.671e-05/2.674e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.2991, allocations: 142.3 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.511/4.81, allocations: 1.724 GB / 2.93 GB, free: 134.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003478/4.81, allocations: 102.4 kB / 2.93 GB, free: 134 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1714/4.982, allocations: 90.29 MB / 3.018 GB, free: 49.46 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.312e-06/4.982, allocations: 0 / 3.018 GB, free: 49.46 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.095e-05/4.982, allocations: 20 kB / 3.018 GB, free: 49.45 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.002116/4.984, allocations: 1.397 MB / 3.02 GB, free: 47.99 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 7.668e-05/4.984, allocations: 8.031 kB / 3.02 GB, free: 47.98 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01364/4.997, allocations: 2.089 MB / 3.022 GB, free: 45.89 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002275/5, allocations: 1.297 MB / 3.023 GB, free: 44.55 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/5, allocations: 4 kB / 3.023 GB, free: 44.54 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.21e-05/5, allocations: 19.94 kB / 3.023 GB, free: 44.52 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007583/5.001, allocations: 0.5859 MB / 3.023 GB, free: 43.93 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005857/5.001, allocations: 480.8 kB / 3.024 GB, free: 43.45 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/5.001, allocations: 0 / 3.024 GB, free: 43.45 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.231e-05/5.001, allocations: 3.953 kB / 3.024 GB, free: 43.45 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/5.001, allocations: 4 kB / 3.024 GB, free: 43.45 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008063/5.009, allocations: 3.61 MB / 3.027 GB, free: 39.69 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001311/5.011, allocations: 0.729 MB / 3.028 GB, free: 38.95 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003428/5.011, allocations: 316.9 kB / 3.028 GB, free: 38.64 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001961/5.011, allocations: 105 kB / 3.029 GB, free: 38.52 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005162/5.012, allocations: 444.7 kB / 3.029 GB, free: 38.06 MB / 1.151 GB Notification: Performance of pre-optimization done (n=23): time 1.974e-06/5.012, allocations: 0 / 3.029 GB, free: 38.06 MB / 1.151 GB Notification: Performance of matching and sorting (n=23): time 0.003705/5.016, allocations: 1.184 MB / 3.03 GB, free: 36.87 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/5.016, allocations: 110.8 kB / 3.03 GB, free: 36.74 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002284/5.018, allocations: 2.088 MB / 3.032 GB, free: 34.64 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.288e-05/5.018, allocations: 25.7 kB / 3.032 GB, free: 34.61 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004002/5.018, allocations: 0.5467 MB / 3.033 GB, free: 34.06 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.581e-05/5.019, allocations: 67.02 kB / 3.033 GB, free: 33.99 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.344e-05/5.019, allocations: 0 / 3.033 GB, free: 33.99 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.734e-05/5.019, allocations: 329.9 kB / 3.033 GB, free: 33.66 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005142/5.019, allocations: 448.2 kB / 3.034 GB, free: 33.22 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005169/5.02, allocations: 488 kB / 3.034 GB, free: 32.74 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02168/5.041, allocations: 9.715 MB / 3.044 GB, free: 23.01 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.245e-05/5.041, allocations: 4 kB / 3.044 GB, free: 23.01 MB / 1.151 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0241/5.066, allocations: 10.72 MB / 3.054 GB, free: 12.25 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.063e-05/5.066, allocations: 134.3 kB / 3.054 GB, free: 12.11 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/5.066, allocations: 3.984 kB / 3.054 GB, free: 12.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002529/5.068, allocations: 0.6977 MB / 3.055 GB, free: 11.39 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002845/5.071, allocations: 0.4954 MB / 3.055 GB, free: 10.89 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001954/5.073, allocations: 2.724 MB / 3.058 GB, free: 8.066 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003385/5.077, allocations: 455.2 kB / 3.058 GB, free: 7.621 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/5.077, allocations: 35.97 kB / 3.058 GB, free: 7.586 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/5.077, allocations: 4 kB / 3.058 GB, free: 7.582 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.7945/5.871, allocations: 10.46 MB / 3.069 GB, free: 388.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/5.871, allocations: 4.594 kB / 3.069 GB, free: 388.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002347/5.874, allocations: 0.6254 MB / 3.069 GB, free: 388.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003387/5.877, allocations: 0.4896 MB / 3.07 GB, free: 388.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004807/5.882, allocations: 5.943 MB / 3.076 GB, free: 383.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003561/5.885, allocations: 446 kB / 3.076 GB, free: 383.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001366/5.886, allocations: 34.05 kB / 3.076 GB, free: 383.5 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.0002727/5.886, allocations: 146.6 kB / 3.076 GB, free: 383.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002705/5.886, allocations: 139.3 kB / 3.076 GB, free: 383.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002942/5.889, allocations: 0.9662 MB / 3.077 GB, free: 383.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/5.889, allocations: 1.875 kB / 3.077 GB, free: 383.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/5.889, allocations: 3.125 kB / 3.077 GB, free: 383.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/5.889, allocations: 1.5 kB / 3.077 GB, free: 383.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001762/5.891, allocations: 1.192 MB / 3.078 GB, free: 383 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/5.891, allocations: 5.047 kB / 3.078 GB, free: 383 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002821/5.894, allocations: 451.8 kB / 3.079 GB, free: 383 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/5.894, allocations: 1.5 kB / 3.079 GB, free: 383 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.755e-05/5.894, allocations: 19.11 kB / 3.079 GB, free: 383 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/5.894, allocations: 1.406 kB / 3.079 GB, free: 383 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/5.894, allocations: 0.75 kB / 3.079 GB, free: 383 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002386/5.896, allocations: 0.8915 MB / 3.08 GB, free: 382.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007037/5.897, allocations: 417.7 kB / 3.08 GB, free: 382.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002095/5.897, allocations: 6.156 kB / 3.08 GB, free: 382.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002885/5.9, allocations: 401.5 kB / 3.081 GB, free: 382.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/5.9, allocations: 25.52 kB / 3.081 GB, free: 382.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-05/5.9, allocations: 29.31 kB / 3.081 GB, free: 382.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002661/5.903, allocations: 1.59 MB / 3.082 GB, free: 382.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.8e-07/5.903, allocations: 1.375 kB / 3.082 GB, free: 382.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002171/5.905, allocations: 0.5619 MB / 3.083 GB, free: 382.5 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.001932/5.907, allocations: 1.098 MB / 3.084 GB, free: 382.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00434/5.911, allocations: 2.325 MB / 3.086 GB, free: 381.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/5.911, allocations: 0 / 3.086 GB, free: 381.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006549/5.912, allocations: 410 kB / 3.086 GB, free: 381.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001625/5.914, allocations: 311.2 kB / 3.087 GB, free: 381.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01645/5.93, allocations: 3.555 MB / 3.09 GB, free: 381.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00114/5.931, allocations: 1.414 MB / 3.092 GB, free: 380.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003869/5.935, allocations: 1.008 MB / 3.093 GB, free: 380.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003314/5.936, allocations: 62.03 kB / 3.093 GB, free: 380.6 MB / 1.151 GB Notification: Performance of SimCode: time 1.383e-06/5.936, allocations: 0 / 3.093 GB, free: 380.6 MB / 1.151 GB Notification: Performance of Templates: time 0.05629/5.992, allocations: 28.53 MB / 3.12 GB, free: 378.9 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