Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.272/2.272, allocations: 390.3 MB / 402.8 MB, free: 6.695 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.001079/0.00108, allocations: 184.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.699/1.699, allocations: 221.3 MB / 0.7915 GB, free: 5.461 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.0009946/0.0009948, allocations: 86.62 kB / 0.9317 GB, free: 5.781 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.312e-05/4.315e-05, allocations: 11.98 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2901, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.631/4.922, allocations: 1.725 GB / 2.944 GB, free: 110.9 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002979/4.922, allocations: 95.94 kB / 2.944 GB, free: 110.8 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1974/5.119, allocations: 105.6 MB / 3.047 GB, free: 4.281 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.154e-06/5.119, allocations: 4 kB / 3.047 GB, free: 4.277 MB / 1.167 GB Notification: Performance of Transformations before backend: time 5.686e-05/5.119, allocations: 23.94 kB / 3.047 GB, free: 4.254 MB / 1.167 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.002303/5.122, allocations: 1.386 MB / 3.049 GB, free: 2.812 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/5.122, allocations: 15.97 kB / 3.049 GB, free: 2.797 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01384/5.136, allocations: 2.082 MB / 3.051 GB, free: 0.7109 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7943/5.93, allocations: 1.288 MB / 3.052 GB, free: 393.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.511e-05/5.93, allocations: 15.56 kB / 3.052 GB, free: 393.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/5.93, allocations: 24.78 kB / 3.052 GB, free: 393.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001148/5.931, allocations: 496.4 kB / 3.052 GB, free: 393.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/5.931, allocations: 2.109 kB / 3.052 GB, free: 393.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.19e-05/5.931, allocations: 7.109 kB / 3.052 GB, free: 393.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/5.931, allocations: 5.969 kB / 3.052 GB, free: 393.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/5.932, allocations: 0.595 MB / 3.053 GB, free: 393.3 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01161/5.944, allocations: 3.651 MB / 3.057 GB, free: 392.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001946/5.946, allocations: 0.7489 MB / 3.057 GB, free: 392.5 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000634/5.947, allocations: 320.1 kB / 3.058 GB, free: 392.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002521/5.947, allocations: 97.89 kB / 3.058 GB, free: 392.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000849/5.948, allocations: 452.2 kB / 3.058 GB, free: 392.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=23): time 3.868e-06/5.948, allocations: 2.516 kB / 3.058 GB, free: 392.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=23): time 0.002933/5.951, allocations: 0.8756 MB / 3.059 GB, free: 392.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/5.951, allocations: 108 kB / 3.059 GB, free: 392 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004252/5.955, allocations: 2.168 MB / 3.061 GB, free: 391.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001919/5.955, allocations: 34.73 kB / 3.061 GB, free: 391.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005592/5.956, allocations: 0.5613 MB / 3.062 GB, free: 391.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/5.956, allocations: 69.09 kB / 3.062 GB, free: 391.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.857e-05/5.956, allocations: 7.312 kB / 3.062 GB, free: 391.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.243e-05/5.956, allocations: 323.3 kB / 3.062 GB, free: 391.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008558/5.957, allocations: 444.1 kB / 3.063 GB, free: 391.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008369/5.958, allocations: 485.8 kB / 3.063 GB, free: 391.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007535/5.959, allocations: 412.1 kB / 3.064 GB, free: 391.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/5.959, allocations: 4.797 kB / 3.064 GB, free: 391.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.003623/5.962, allocations: 1.414 MB / 3.065 GB, free: 391.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.05e-05/5.962, allocations: 128.3 kB / 3.065 GB, free: 391 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/5.962, allocations: 2.219 kB / 3.065 GB, free: 391 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003129/5.966, allocations: 0.7489 MB / 3.066 GB, free: 391 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003235/5.969, allocations: 499.1 kB / 3.066 GB, free: 391 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002148/5.971, allocations: 2.673 MB / 3.069 GB, free: 388.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003635/5.975, allocations: 467.4 kB / 3.069 GB, free: 388.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001491/5.975, allocations: 37.7 kB / 3.069 GB, free: 388.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/5.975, allocations: 4.125 kB / 3.069 GB, free: 388.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00251/5.977, allocations: 1.187 MB / 3.07 GB, free: 388.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/5.977, allocations: 0.7969 kB / 3.07 GB, free: 388.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00277/5.98, allocations: 0.6339 MB / 3.071 GB, free: 388.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003708/5.984, allocations: 495.9 kB / 3.072 GB, free: 388.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006198/5.99, allocations: 6.177 MB / 3.078 GB, free: 383.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00376/5.994, allocations: 458.9 kB / 3.078 GB, free: 383.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002469/5.994, allocations: 33.25 kB / 3.078 GB, free: 383.8 MB / 1.167 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.0003808/5.995, allocations: 156.2 kB / 3.078 GB, free: 383.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006092/5.995, allocations: 139.1 kB / 3.078 GB, free: 383.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002538/5.998, allocations: 0.9253 MB / 3.079 GB, free: 383.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/5.998, allocations: 2.188 kB / 3.079 GB, free: 383.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/5.998, allocations: 1.438 kB / 3.079 GB, free: 383.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/5.998, allocations: 0.6562 kB / 3.079 GB, free: 383.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002562/6, allocations: 1.235 MB / 3.08 GB, free: 383.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/6, allocations: 3.891 kB / 3.08 GB, free: 383.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002791/6.003, allocations: 445.6 kB / 3.081 GB, free: 383.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.186e-05/6.003, allocations: 5.141 kB / 3.081 GB, free: 383.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.108e-05/6.003, allocations: 18.16 kB / 3.081 GB, free: 383.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/6.003, allocations: 3.156 kB / 3.081 GB, free: 383.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/6.003, allocations: 1.484 kB / 3.081 GB, free: 383.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001873/6.005, allocations: 0.8378 MB / 3.082 GB, free: 382.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001107/6.006, allocations: 423.7 kB / 3.082 GB, free: 382.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004591/6.007, allocations: 8.703 kB / 3.082 GB, free: 382.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003171/6.01, allocations: 399.8 kB / 3.083 GB, free: 382.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/6.01, allocations: 23.86 kB / 3.083 GB, free: 382.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.487e-05/6.01, allocations: 26.3 kB / 3.083 GB, free: 382.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003916/6.014, allocations: 1.674 MB / 3.084 GB, free: 382.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 5.51e-07/6.014, allocations: 3.281 kB / 3.084 GB, free: 382.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003143/6.017, allocations: 0.5899 MB / 3.085 GB, free: 382.7 MB / 1.167 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.002485/6.02, allocations: 0.9987 MB / 3.086 GB, free: 382.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00517/6.025, allocations: 2.358 MB / 3.088 GB, free: 381.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/6.025, allocations: 3.844 kB / 3.088 GB, free: 381.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007234/6.026, allocations: 417.6 kB / 3.088 GB, free: 381.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002088/6.028, allocations: 322.5 kB / 3.089 GB, free: 381.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01743/6.045, allocations: 3.561 MB / 3.092 GB, free: 381.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001655/6.047, allocations: 1.411 MB / 3.094 GB, free: 380.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.004498/6.051, allocations: 0.9903 MB / 3.095 GB, free: 380.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004381/6.052, allocations: 63.33 kB / 3.095 GB, free: 380.6 MB / 1.167 GB Notification: Performance of SimCode: time 1.623e-06/6.052, allocations: 0 / 3.095 GB, free: 380.6 MB / 1.167 GB Notification: Performance of Templates: time 0.06897/6.121, allocations: 39.74 MB / 3.133 GB, free: 375.3 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDryPoint.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches