Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.135/2.135, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.001095/0.001095, allocations: 184.8 kB / 487.4 MB, free: 5.035 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.505/1.505, allocations: 221.5 MB / 0.7824 GB, free: 0.9492 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009613/0.0009614, allocations: 87.91 kB / 0.9219 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.864e-05/1.866e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.2995, allocations: 142.4 MB / 1.206 GB, free: 43.91 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.027/1.326, allocations: 155.5 MB / 1.358 GB, free: 18.25 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003187/1.327, allocations: 97.02 kB / 1.358 GB, free: 18.25 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03154/1.358, allocations: 12.97 MB / 1.371 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.452e-06/1.358, allocations: 4 kB / 1.371 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.334e-05/1.358, allocations: 7.719 kB / 1.371 GB, free: 32.77 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.001217/1.36, allocations: 0.6996 MB / 1.371 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/1.36, allocations: 11.53 kB / 1.371 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001576/1.36, allocations: 58.12 kB / 1.371 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005173/1.36, allocations: 350.8 kB / 1.372 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/1.36, allocations: 3.844 kB / 1.372 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/1.36, allocations: 7.719 kB / 1.372 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001949/1.361, allocations: 98.94 kB / 1.372 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000191/1.361, allocations: 122.6 kB / 1.372 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/1.361, allocations: 3.906 kB / 1.372 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.271e-05/1.361, allocations: 0 / 1.372 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/1.361, allocations: 0 / 1.372 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008375/1.362, allocations: 0.5067 MB / 1.372 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/1.362, allocations: 105.3 kB / 1.372 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.287e-05/1.362, allocations: 64.27 kB / 1.373 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.547e-05/1.362, allocations: 10.59 kB / 1.373 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000181/1.362, allocations: 152.3 kB / 1.373 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=11): time 1.603e-06/1.362, allocations: 0 / 1.373 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.0005235/1.363, allocations: 244.3 kB / 1.373 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/1.363, allocations: 80.95 kB / 1.373 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008084/1.364, allocations: 0.6056 MB / 1.374 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/1.364, allocations: 25.7 kB / 1.374 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002639/1.364, allocations: 282.4 kB / 1.374 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.158e-05/1.364, allocations: 25.91 kB / 1.374 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.034e-05/1.364, allocations: 0 / 1.374 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002515/1.364, allocations: 375 kB / 1.374 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.212e-05/1.364, allocations: 53.42 kB / 1.374 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.576e-05/1.364, allocations: 46.61 kB / 1.374 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/1.365, allocations: 59.98 kB / 1.374 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/1.365, allocations: 0 / 1.374 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000349/1.365, allocations: 248.1 kB / 1.375 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.055e-05/1.365, allocations: 36.33 kB / 1.375 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/1.365, allocations: 3.953 kB / 1.375 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/1.365, allocations: 0 / 1.375 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.812e-05/1.365, allocations: 17.72 kB / 1.375 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/1.365, allocations: 0 / 1.375 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/1.365, allocations: 11.75 kB / 1.375 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.151e-05/1.365, allocations: 3.844 kB / 1.375 GB, free: 30.63 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.0001488/1.365, allocations: 142.3 kB / 1.375 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.536e-05/1.365, allocations: 60.8 kB / 1.375 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005056/1.366, allocations: 282.7 kB / 1.375 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/1.366, allocations: 3.953 kB / 1.375 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/1.366, allocations: 4 kB / 1.375 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/1.366, allocations: 0 / 1.375 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000413/1.366, allocations: 345.1 kB / 1.376 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/1.366, allocations: 0 / 1.376 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.275e-05/1.367, allocations: 11.44 kB / 1.376 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/1.367, allocations: 2.719 kB / 1.376 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/1.367, allocations: 3.781 kB / 1.376 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/1.367, allocations: 0 / 1.376 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/1.367, allocations: 0 / 1.376 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004272/1.367, allocations: 289.5 kB / 1.376 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001959/1.367, allocations: 149.3 kB / 1.376 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.65e-05/1.367, allocations: 4 kB / 1.376 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/1.367, allocations: 13.92 kB / 1.376 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.816e-05/1.368, allocations: 9.438 kB / 1.376 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.834e-05/1.368, allocations: 7.688 kB / 1.376 GB, free: 30 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0006536/1.368, allocations: 0.4978 MB / 1.376 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.91e-07/1.368, allocations: 0 / 1.376 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000658/1.369, allocations: 157.9 kB / 1.377 GB, free: 29.87 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.0009826/1.37, allocations: 349.1 kB / 1.377 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002765/1.37, allocations: 196 kB / 1.377 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/1.37, allocations: 4 kB / 1.377 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001114/1.37, allocations: 143.4 kB / 1.377 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005548/1.371, allocations: 95.5 kB / 1.377 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/1.372, allocations: 0.7815 MB / 1.378 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007036/1.373, allocations: 0.9722 MB / 1.379 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001054/1.373, allocations: 20 kB / 1.379 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.938e-05/1.373, allocations: 11.28 kB / 1.379 GB, free: 28.65 MB / 0.8386 GB Notification: Performance of SimCode: time 5.61e-07/1.373, allocations: 0 / 1.379 GB, free: 28.65 MB / 0.8386 GB Notification: Performance of Templates: time 0.01105/1.384, allocations: 5.133 MB / 1.384 GB, free: 26.31 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches