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.248/2.248, allocations: 390.5 MB / 398 MB, free: 10.95 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.001259/0.00126, allocations: 171.8 kB / 491.2 MB, free: 1.605 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.654/1.654, allocations: 221.5 MB / 0.7868 GB, free: 13.36 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.001116/0.001116, allocations: 91.59 kB / 0.9269 GB, free: 13.85 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.22e-05/2.224e-05, allocations: 8 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3323, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.15/5.483, allocations: 1.725 GB / 2.937 GB, free: 114.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003027/5.483, allocations: 99.17 kB / 2.937 GB, free: 114.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1857/5.669, allocations: 90.3 MB / 3.025 GB, free: 29.37 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.776e-06/5.669, allocations: 0 / 3.025 GB, free: 29.37 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001458/5.669, allocations: 23.94 kB / 3.025 GB, free: 29.34 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.003441/5.672, allocations: 1.389 MB / 3.027 GB, free: 27.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/5.672, allocations: 15.97 kB / 3.027 GB, free: 27.88 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01372/5.686, allocations: 2.078 MB / 3.029 GB, free: 25.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003029/5.689, allocations: 1.293 MB / 3.03 GB, free: 24.46 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/5.689, allocations: 4 kB / 3.03 GB, free: 24.46 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001586/5.689, allocations: 16 kB / 3.03 GB, free: 24.44 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008358/5.69, allocations: 0.5858 MB / 3.031 GB, free: 23.85 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006383/5.691, allocations: 483.7 kB / 3.031 GB, free: 23.37 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/5.691, allocations: 7.953 kB / 3.031 GB, free: 23.36 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.296e-05/5.691, allocations: 0 / 3.031 GB, free: 23.36 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/5.691, allocations: 4 kB / 3.031 GB, free: 23.36 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009263/5.7, allocations: 3.601 MB / 3.035 GB, free: 19.61 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001385/5.702, allocations: 0.7407 MB / 3.035 GB, free: 18.86 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004322/5.702, allocations: 318.2 kB / 3.036 GB, free: 18.55 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002121/5.702, allocations: 93.09 kB / 3.036 GB, free: 18.44 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000519/5.703, allocations: 453.7 kB / 3.036 GB, free: 17.98 MB / 1.151 GB Notification: Performance of pre-optimization done (n=23): time 4.018e-06/5.703, allocations: 0 / 3.036 GB, free: 17.98 MB / 1.151 GB Notification: Performance of matching and sorting (n=23): time 0.004078/5.707, allocations: 1.184 MB / 3.037 GB, free: 16.79 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.034e-05/5.707, allocations: 110.7 kB / 3.037 GB, free: 16.65 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003565/5.711, allocations: 2.088 MB / 3.039 GB, free: 14.56 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001595/5.711, allocations: 25.7 kB / 3.039 GB, free: 14.53 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005877/5.711, allocations: 0.5506 MB / 3.04 GB, free: 13.97 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000112/5.712, allocations: 67.02 kB / 3.04 GB, free: 13.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.502e-05/5.712, allocations: 0 / 3.04 GB, free: 13.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.612e-05/5.712, allocations: 321.9 kB / 3.04 GB, free: 13.58 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005598/5.712, allocations: 452.1 kB / 3.041 GB, free: 13.14 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005566/5.713, allocations: 480.1 kB / 3.041 GB, free: 12.66 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02119/5.734, allocations: 9.723 MB / 3.051 GB, free: 2.926 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-05/5.734, allocations: 0 / 3.051 GB, free: 2.926 MB / 1.151 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.9232/6.657, allocations: 10.72 MB / 3.061 GB, free: 385.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001161/6.658, allocations: 134 kB / 3.061 GB, free: 384.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/6.658, allocations: 1.688 kB / 3.061 GB, free: 384.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003197/6.661, allocations: 0.7055 MB / 3.062 GB, free: 384.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00334/6.664, allocations: 0.4914 MB / 3.062 GB, free: 384.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002686/6.667, allocations: 2.728 MB / 3.065 GB, free: 382.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003884/6.671, allocations: 453.1 kB / 3.066 GB, free: 382.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00021/6.671, allocations: 34.08 kB / 3.066 GB, free: 382.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/6.671, allocations: 3.812 kB / 3.066 GB, free: 382.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02976/6.701, allocations: 10.47 MB / 3.076 GB, free: 382.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/6.701, allocations: 0 / 3.076 GB, free: 382.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002422/6.703, allocations: 0.6305 MB / 3.076 GB, free: 382.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003123/6.706, allocations: 495.5 kB / 3.077 GB, free: 382.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005009/6.711, allocations: 5.94 MB / 3.083 GB, free: 378 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003556/6.715, allocations: 443.7 kB / 3.083 GB, free: 378 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002636/6.715, allocations: 37.02 kB / 3.083 GB, free: 378 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.0004255/6.716, allocations: 148.5 kB / 3.083 GB, free: 377.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005903/6.716, allocations: 134 kB / 3.083 GB, free: 377.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003324/6.72, allocations: 0.9688 MB / 3.084 GB, free: 377.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/6.72, allocations: 2.062 kB / 3.084 GB, free: 377.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/6.72, allocations: 3.469 kB / 3.084 GB, free: 377.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/6.72, allocations: 0.9688 kB / 3.084 GB, free: 377.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00254/6.722, allocations: 1.196 MB / 3.086 GB, free: 377.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/6.722, allocations: 4.125 kB / 3.086 GB, free: 377.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002708/6.725, allocations: 455.1 kB / 3.086 GB, free: 377.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.365e-05/6.725, allocations: 3.391 kB / 3.086 GB, free: 377.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.575e-05/6.725, allocations: 14.8 kB / 3.086 GB, free: 377.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.171e-06/6.725, allocations: 3.875 kB / 3.086 GB, free: 377.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/6.725, allocations: 1.062 kB / 3.086 GB, free: 377.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002838/6.728, allocations: 0.8921 MB / 3.087 GB, free: 377.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001095/6.729, allocations: 420.5 kB / 3.087 GB, free: 377.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005375/6.73, allocations: 2.781 kB / 3.087 GB, free: 377.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003111/6.733, allocations: 395.2 kB / 3.088 GB, free: 377.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/6.733, allocations: 27.89 kB / 3.088 GB, free: 377.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.723e-05/6.733, allocations: 29.86 kB / 3.088 GB, free: 377.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.004021/6.737, allocations: 1.589 MB / 3.089 GB, free: 377 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.904e-06/6.737, allocations: 3.906 kB / 3.089 GB, free: 377 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003644/6.741, allocations: 0.5648 MB / 3.09 GB, free: 377 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.003043/6.744, allocations: 1.1 MB / 3.091 GB, free: 376.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.005102/6.749, allocations: 2.314 MB / 3.093 GB, free: 376.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/6.749, allocations: 6.156 kB / 3.093 GB, free: 376.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007347/6.75, allocations: 411.6 kB / 3.094 GB, free: 376.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002566/6.752, allocations: 311.4 kB / 3.094 GB, free: 376.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01798/6.77, allocations: 3.566 MB / 3.097 GB, free: 375.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001342/6.772, allocations: 1.416 MB / 3.099 GB, free: 375 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00377/6.776, allocations: 1 MB / 3.1 GB, free: 374.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004002/6.776, allocations: 66.28 kB / 3.1 GB, free: 374.9 MB / 1.151 GB Notification: Performance of SimCode: time 1.312e-06/6.776, allocations: 0 / 3.1 GB, free: 374.9 MB / 1.151 GB Notification: Performance of Templates: time 0.05302/6.829, allocations: 28.54 MB / 3.128 GB, free: 369.5 MB / 1.151 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