Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speShi.y|speShi.speRat",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speShi.y|speShi.speRat",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.513/1.513, allocations: 249.3 MB / 261.9 MB, free: 5.875 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001141/0.001141, allocations: 174.6 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.606/1.606, allocations: 205.2 MB / 0.572 GB, free: 10.63 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008729/0.000873, allocations: 86.8 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.24e-05/3.242e-05, allocations: 4 kB / 0.788 GB, free: 97.07 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2062, allocations: 106.3 MB / 0.8918 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7397/0.9459, allocations: 138.6 MB / 1.027 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/0.9462, allocations: 93.55 kB / 1.027 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03248/0.9787, allocations: 12.93 MB / 1.04 GB, free: 0.9258 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.182e-06/0.9788, allocations: 0 / 1.04 GB, free: 0.9258 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.218e-05/0.9788, allocations: 8 kB / 1.04 GB, free: 0.918 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0008164/0.9796, allocations: 0.7109 MB / 1.041 GB, free: 192 kB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.9797, allocations: 8.031 kB / 1.041 GB, free: 184 kB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.846e-05/0.9798, allocations: 59.25 kB / 1.041 GB, free: 124 kB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004636/0.9802, allocations: 350.1 kB / 1.041 GB, free: 15.75 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.9803, allocations: 7.812 kB / 1.041 GB, free: 15.74 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.9803, allocations: 4 kB / 1.041 GB, free: 15.74 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002508/0.9806, allocations: 135.7 kB / 1.041 GB, free: 15.62 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.9806, allocations: 0 / 1.041 GB, free: 15.62 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.9806, allocations: 4 kB / 1.041 GB, free: 15.62 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.9806, allocations: 0 / 1.041 GB, free: 15.62 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001657/0.9808, allocations: 103.5 kB / 1.041 GB, free: 15.55 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007984/0.9816, allocations: 0.5475 MB / 1.042 GB, free: 15.04 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001685/0.9818, allocations: 109.6 kB / 1.042 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.626e-05/0.9819, allocations: 81.16 kB / 1.042 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 4.146e-05/0.9819, allocations: 15.94 kB / 1.042 GB, free: 14.87 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001867/0.9821, allocations: 137.1 kB / 1.042 GB, free: 14.73 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=11): time 1.543e-06/0.9821, allocations: 4 kB / 1.042 GB, free: 14.73 MB / 0.6667 GB Notification: Performance of matching and sorting (n=11): time 0.0004396/0.9826, allocations: 275.6 kB / 1.042 GB, free: 14.48 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.318e-05/0.9827, allocations: 81.11 kB / 1.042 GB, free: 14.38 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007683/0.9834, allocations: 0.6649 MB / 1.043 GB, free: 13.86 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.9835, allocations: 33.64 kB / 1.043 GB, free: 13.82 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002228/0.9837, allocations: 289.4 kB / 1.043 GB, free: 13.66 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/0.9837, allocations: 23.52 kB / 1.043 GB, free: 13.64 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.969e-06/0.9837, allocations: 0 / 1.043 GB, free: 13.64 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.9839, allocations: 313.9 kB / 1.044 GB, free: 13.33 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.95e-05/0.9839, allocations: 50.92 kB / 1.044 GB, free: 13.3 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.355e-05/0.984, allocations: 50.91 kB / 1.044 GB, free: 13.26 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.824e-05/0.9841, allocations: 87.33 kB / 1.044 GB, free: 13.18 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.9841, allocations: 0 / 1.044 GB, free: 13.18 MB / 0.6667 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003467/0.9845, allocations: 275.6 kB / 1.044 GB, free: 12.93 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 4.391e-05/0.9846, allocations: 41.27 kB / 1.044 GB, free: 12.89 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.9846, allocations: 4 kB / 1.044 GB, free: 12.89 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.9846, allocations: 4 kB / 1.044 GB, free: 12.88 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.234e-05/0.9847, allocations: 4 kB / 1.044 GB, free: 12.88 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.9847, allocations: 7.938 kB / 1.044 GB, free: 12.87 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.9848, allocations: 15.83 kB / 1.044 GB, free: 12.86 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.481e-05/0.9848, allocations: 8 kB / 1.044 GB, free: 12.85 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled,booleanToInteger.u,booleanToInteger.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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 prepare postOptimizeDAE: time 0.0001068/0.985, allocations: 142.6 kB / 1.044 GB, free: 12.7 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.484e-05/0.985, allocations: 63.19 kB / 1.044 GB, free: 12.64 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005022/0.9855, allocations: 322.9 kB / 1.045 GB, free: 12.36 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.9856, allocations: 0 / 1.045 GB, free: 12.36 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.9856, allocations: 0 / 1.045 GB, free: 12.36 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.9856, allocations: 0 / 1.045 GB, free: 12.36 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003593/0.9859, allocations: 374.8 kB / 1.045 GB, free: 12 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.9859, allocations: 0 / 1.045 GB, free: 12 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.454e-05/0.986, allocations: 11.94 kB / 1.045 GB, free: 11.99 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.986, allocations: 3.984 kB / 1.045 GB, free: 11.99 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.986, allocations: 6.375 kB / 1.045 GB, free: 11.98 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.986, allocations: 8.078 kB / 1.045 GB, free: 11.98 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.986, allocations: 4 kB / 1.045 GB, free: 11.97 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003901/0.9864, allocations: 329.9 kB / 1.045 GB, free: 11.67 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001626/0.9866, allocations: 147 kB / 1.046 GB, free: 11.51 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.991e-05/0.9867, allocations: 4 kB / 1.046 GB, free: 11.51 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.898e-05/0.9868, allocations: 4 kB / 1.046 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.605e-05/0.9868, allocations: 15.69 kB / 1.046 GB, free: 11.49 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.197e-05/0.9869, allocations: 8 kB / 1.046 GB, free: 11.48 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0006047/0.9875, allocations: 0.5564 MB / 1.046 GB, free: 11.06 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9875, allocations: 0 / 1.046 GB, free: 11.06 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0005325/0.988, allocations: 150.3 kB / 1.046 GB, free: 10.92 MB / 0.6667 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,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,booleanToInteger.u,booleanToInteger.y) * Number of discrete states: 6 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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.0006271/0.9887, allocations: 361.2 kB / 1.047 GB, free: 10.57 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0002644/0.9889, allocations: 198.9 kB / 1.047 GB, free: 10.41 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.9889, allocations: 3.25 kB / 1.047 GB, free: 10.41 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.9891, allocations: 137.8 kB / 1.047 GB, free: 10.29 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004405/0.9895, allocations: 103.9 kB / 1.047 GB, free: 10.21 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.9906, allocations: 0.7903 MB / 1.048 GB, free: 9.512 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000542/0.9912, allocations: 0.9733 MB / 1.049 GB, free: 8.57 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 8.005e-05/0.9913, allocations: 25.53 kB / 1.049 GB, free: 8.547 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.2e-05/0.9913, allocations: 15.44 kB / 1.049 GB, free: 8.531 MB / 0.6667 GB Notification: Performance of SimCode: time 5.82e-07/0.9913, allocations: 0 / 1.049 GB, free: 8.531 MB / 0.6667 GB Notification: Performance of Templates: time 0.01171/1.003, allocations: 6.489 MB / 1.055 GB, free: 2.094 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches