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.384/1.384, allocations: 251.9 MB / 266.9 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001046/0.001046, allocations: 178.9 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.531/1.531, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.0008535/0.0008535, allocations: 107.4 kB / 0.6822 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002916/0.0002916, allocations: 13.28 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1766, allocations: 106.3 MB / 0.9001 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1651/0.3417, allocations: 138.7 MB / 1.036 GB, free: 5.055 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/0.3421, allocations: 103.9 kB / 1.036 GB, free: 4.953 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03331/0.3754, allocations: 12.95 MB / 1.048 GB, free: 7.926 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.944e-06/0.3754, allocations: 0 / 1.048 GB, free: 7.926 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.997e-05/0.3754, allocations: 4 kB / 1.048 GB, free: 7.922 MB / 0.698 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.000999/0.3765, allocations: 0.8139 MB / 1.049 GB, free: 7.051 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.3765, allocations: 8.031 kB / 1.049 GB, free: 7.043 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.093e-05/0.3766, allocations: 59.25 kB / 1.049 GB, free: 6.984 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004622/0.377, allocations: 351.7 kB / 1.049 GB, free: 6.598 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.3771, allocations: 15.91 kB / 1.049 GB, free: 6.582 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.3771, allocations: 8 kB / 1.05 GB, free: 6.574 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002343/0.3773, allocations: 130.2 kB / 1.05 GB, free: 6.438 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.3774, allocations: 0 / 1.05 GB, free: 6.438 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.3774, allocations: 8 kB / 1.05 GB, free: 6.43 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.3774, allocations: 0 / 1.05 GB, free: 6.43 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001717/0.3776, allocations: 100.1 kB / 1.05 GB, free: 6.332 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007625/0.3783, allocations: 0.5475 MB / 1.05 GB, free: 5.734 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001807/0.3785, allocations: 122.5 kB / 1.05 GB, free: 5.605 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.53e-05/0.3786, allocations: 7.984 kB / 1.05 GB, free: 5.598 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001905/0.3788, allocations: 145.1 kB / 1.051 GB, free: 5.438 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.473e-06/0.3788, allocations: 4 kB / 1.051 GB, free: 5.434 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0005473/0.3794, allocations: 415.6 kB / 1.051 GB, free: 4.996 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.595e-05/0.3794, allocations: 81.09 kB / 1.051 GB, free: 4.898 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007655/0.3802, allocations: 0.6791 MB / 1.052 GB, free: 4.215 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.3802, allocations: 25.7 kB / 1.052 GB, free: 4.184 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002254/0.3804, allocations: 272.3 kB / 1.052 GB, free: 3.91 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.127e-05/0.3805, allocations: 27.7 kB / 1.052 GB, free: 3.883 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.184e-06/0.3805, allocations: 0 / 1.052 GB, free: 3.883 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.3806, allocations: 310 kB / 1.052 GB, free: 3.574 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.525e-05/0.3807, allocations: 55.97 kB / 1.052 GB, free: 3.52 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.674e-05/0.3808, allocations: 55.95 kB / 1.052 GB, free: 3.465 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.952e-05/0.3809, allocations: 74.12 kB / 1.052 GB, free: 3.387 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.3809, allocations: 0 / 1.052 GB, free: 3.387 MB / 0.698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003704/0.3813, allocations: 294.3 kB / 1.053 GB, free: 3.086 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.733e-05/0.3813, allocations: 43.36 kB / 1.053 GB, free: 3.039 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3813, allocations: 0 / 1.053 GB, free: 3.039 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.3814, allocations: 3.984 kB / 1.053 GB, free: 3.035 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.425e-05/0.3814, allocations: 8 kB / 1.053 GB, free: 3.027 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.3815, allocations: 4.156 kB / 1.053 GB, free: 3.023 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.3816, allocations: 19.86 kB / 1.053 GB, free: 3.004 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.089e-05/0.3816, allocations: 15.98 kB / 1.053 GB, free: 2.988 MB / 0.698 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 () * Number of clocked 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.0003128/0.3819, allocations: 324.8 kB / 1.053 GB, free: 2.656 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.019e-05/0.382, allocations: 63.25 kB / 1.053 GB, free: 2.594 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000463/0.3825, allocations: 328.5 kB / 1.054 GB, free: 2.258 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.3825, allocations: 4 kB / 1.054 GB, free: 2.254 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.3825, allocations: 4.125 kB / 1.054 GB, free: 2.25 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3825, allocations: 0 / 1.054 GB, free: 2.25 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003553/0.3829, allocations: 377.3 kB / 1.054 GB, free: 1.832 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3829, allocations: 0 / 1.054 GB, free: 1.832 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.963e-05/0.3829, allocations: 8 kB / 1.054 GB, free: 1.824 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3829, allocations: 0 / 1.054 GB, free: 1.824 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.383, allocations: 7.984 kB / 1.054 GB, free: 1.816 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.383, allocations: 7.953 kB / 1.054 GB, free: 1.809 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.383, allocations: 0 / 1.054 GB, free: 1.809 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004172/0.3834, allocations: 330.2 kB / 1.054 GB, free: 1.461 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001605/0.3836, allocations: 152.2 kB / 1.054 GB, free: 1.293 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.987e-05/0.3836, allocations: 8 kB / 1.054 GB, free: 1.285 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.3837, allocations: 4 kB / 1.054 GB, free: 1.281 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.49e-05/0.3838, allocations: 11.94 kB / 1.054 GB, free: 1.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.338e-05/0.3838, allocations: 12 kB / 1.054 GB, free: 1.258 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006208/0.3844, allocations: 0.5536 MB / 1.055 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3845, allocations: 0 / 1.055 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004837/0.3849, allocations: 143.9 kB / 1.055 GB, free: 0.5703 MB / 0.698 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) * Number of clocked states: 0 () * 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.0005739/0.3855, allocations: 357 kB / 1.055 GB, free: 220 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002685/0.3858, allocations: 203.3 kB / 1.056 GB, free: 4 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3858, allocations: 4 kB / 1.056 GB, free: 0 / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.3086/0.6944, allocations: 142.6 kB / 1.056 GB, free: 147.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006185/0.695, allocations: 98.33 kB / 1.056 GB, free: 147.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.6965, allocations: 1.096 MB / 1.057 GB, free: 147.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.6969, allocations: 0.9777 MB / 1.058 GB, free: 146.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.56e-05/0.697, allocations: 23.22 kB / 1.058 GB, free: 146.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.831e-05/0.697, allocations: 15.31 kB / 1.058 GB, free: 146.4 MB / 0.698 GB Notification: Performance of SimCode: time 5.51e-07/0.697, allocations: 0 / 1.058 GB, free: 146.4 MB / 0.698 GB Notification: Performance of Templates: time 0.01148/0.7085, allocations: 6.197 MB / 1.064 GB, free: 146.1 MB / 0.698 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