Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.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.SpeedShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speShi.y|speShi.speRat",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.458/2.458, allocations: 390.5 MB / 398 MB, free: 10.98 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.001558/0.001558, allocations: 179.2 kB / 491.2 MB, free: 1.602 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.767/1.767, allocations: 221.5 MB / 0.7868 GB, free: 13.32 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.001074/0.001074, allocations: 91.89 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.423e-05/2.425e-05, allocations: 8 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3328, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.155/1.488, allocations: 156.3 MB / 1.365 GB, free: 17.56 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002485/1.488, allocations: 96.06 kB / 1.365 GB, free: 17.56 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03035/1.518, allocations: 12.98 MB / 1.378 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.573e-06/1.518, allocations: 0 / 1.378 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.564e-05/1.518, allocations: 7.719 kB / 1.378 GB, free: 32.07 MB / 0.8386 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.0009012/1.519, allocations: 0.6949 MB / 1.378 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/1.519, allocations: 14.39 kB / 1.378 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.469e-05/1.519, allocations: 58.25 kB / 1.378 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000408/1.52, allocations: 349.4 kB / 1.379 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/1.52, allocations: 0 / 1.379 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.174e-05/1.52, allocations: 7.719 kB / 1.379 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001718/1.52, allocations: 98.31 kB / 1.379 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/1.52, allocations: 124.4 kB / 1.379 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/1.52, allocations: 0 / 1.379 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/1.52, allocations: 0 / 1.379 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/1.52, allocations: 3.938 kB / 1.379 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007086/1.521, allocations: 0.5083 MB / 1.38 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/1.521, allocations: 111.5 kB / 1.38 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.957e-05/1.521, allocations: 64.92 kB / 1.38 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.719e-05/1.521, allocations: 17.25 kB / 1.38 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001548/1.521, allocations: 134.7 kB / 1.38 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/1.521, allocations: 3.938 kB / 1.38 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.0004317/1.522, allocations: 241.2 kB / 1.38 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/1.522, allocations: 84.08 kB / 1.38 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006112/1.523, allocations: 0.6068 MB / 1.381 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/1.523, allocations: 25.7 kB / 1.381 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002082/1.523, allocations: 282.8 kB / 1.381 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.917e-05/1.523, allocations: 29.75 kB / 1.381 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.185e-06/1.523, allocations: 0 / 1.381 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001831/1.523, allocations: 373.7 kB / 1.381 GB, free: 29.94 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.52e-05/1.523, allocations: 51.81 kB / 1.381 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.026e-05/1.523, allocations: 47.61 kB / 1.382 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/1.523, allocations: 55.7 kB / 1.382 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/1.523, allocations: 0 / 1.382 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002886/1.524, allocations: 241.2 kB / 1.382 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.464e-05/1.524, allocations: 38.59 kB / 1.382 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/1.524, allocations: 7.984 kB / 1.382 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/1.524, allocations: 3.844 kB / 1.382 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.293e-05/1.524, allocations: 11.59 kB / 1.382 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/1.524, allocations: 0 / 1.382 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/1.524, allocations: 11.16 kB / 1.382 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-05/1.524, allocations: 7.688 kB / 1.382 GB, free: 29.78 MB / 0.8386 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.0001066/1.524, allocations: 142.2 kB / 1.382 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.598e-05/1.524, allocations: 54.59 kB / 1.382 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004137/1.524, allocations: 290.7 kB / 1.382 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/1.524, allocations: 3.984 kB / 1.382 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/1.524, allocations: 0 / 1.382 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/1.525, allocations: 3.844 kB / 1.382 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002965/1.525, allocations: 342.1 kB / 1.383 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/1.525, allocations: 4 kB / 1.383 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.665e-05/1.525, allocations: 7.781 kB / 1.383 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/1.525, allocations: 0 / 1.383 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/1.525, allocations: 7.828 kB / 1.383 GB, free: 29.28 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/1.525, allocations: 3.969 kB / 1.383 GB, free: 29.28 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.525, allocations: 7.953 kB / 1.383 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003285/1.525, allocations: 283.2 kB / 1.383 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/1.525, allocations: 147.4 kB / 1.383 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.218e-05/1.525, allocations: 0 / 1.383 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.629e-05/1.526, allocations: 11.62 kB / 1.383 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.556e-05/1.526, allocations: 11.81 kB / 1.383 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/1.526, allocations: 7.469 kB / 1.383 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0004798/1.526, allocations: 0.5018 MB / 1.384 GB, free: 28.85 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.526, allocations: 0 / 1.384 GB, free: 28.85 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005643/1.527, allocations: 142.6 kB / 1.384 GB, free: 28.82 MB / 0.8386 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.0005817/1.527, allocations: 370.1 kB / 1.384 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002247/1.528, allocations: 190.7 kB / 1.384 GB, free: 28.56 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/1.528, allocations: 0 / 1.384 GB, free: 28.56 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001009/1.528, allocations: 140 kB / 1.384 GB, free: 28.49 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004426/1.528, allocations: 99.05 kB / 1.385 GB, free: 28.46 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/1.529, allocations: 0.7772 MB / 1.385 GB, free: 28.16 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005618/1.53, allocations: 0.9793 MB / 1.386 GB, free: 27.36 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.429e-05/1.53, allocations: 16.7 kB / 1.386 GB, free: 27.36 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.695e-05/1.53, allocations: 15.31 kB / 1.386 GB, free: 27.34 MB / 0.8386 GB Notification: Performance of SimCode: time 2.71e-07/1.53, allocations: 0 / 1.386 GB, free: 27.34 MB / 0.8386 GB Notification: Performance of Templates: time 0.009209/1.539, allocations: 5.135 MB / 1.391 GB, free: 24.79 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches