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.463/2.463, allocations: 390.4 MB / 405.3 MB, free: 13.49 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.0013/0.0013, allocations: 185.1 kB / 498.1 MB, free: 5.73 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.559/1.559, allocations: 223.2 MB / 0.7948 GB, free: 17.91 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.000974/0.0009737, allocations: 96.27 kB / 0.9346 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003698/0.0003699, allocations: 15.3 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2916, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1828/0.4745, allocations: 156.2 MB / 1.375 GB, free: 5.855 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/0.4749, allocations: 95.94 kB / 1.376 GB, free: 5.762 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0351/0.51, allocations: 13.15 MB / 1.388 GB, free: 8.531 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.887e-06/0.5101, allocations: 0 / 1.388 GB, free: 8.531 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.82e-05/0.5101, allocations: 8 kB / 1.388 GB, free: 8.523 MB / 0.8855 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.001308/0.5114, allocations: 0.81 MB / 1.389 GB, free: 7.656 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.5115, allocations: 12.03 kB / 1.389 GB, free: 7.645 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.456e-05/0.5116, allocations: 59.25 kB / 1.389 GB, free: 7.586 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005197/0.5121, allocations: 347.8 kB / 1.39 GB, free: 7.203 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.5121, allocations: 4 kB / 1.39 GB, free: 7.199 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.5122, allocations: 8 kB / 1.39 GB, free: 7.191 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002645/0.5124, allocations: 138.1 kB / 1.39 GB, free: 7.047 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.5125, allocations: 4 kB / 1.39 GB, free: 7.043 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/0.5125, allocations: 0 / 1.39 GB, free: 7.043 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.5125, allocations: 4 kB / 1.39 GB, free: 7.039 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001761/0.5127, allocations: 104.1 kB / 1.39 GB, free: 6.938 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000856/0.5135, allocations: 0.5552 MB / 1.39 GB, free: 6.332 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.5137, allocations: 114.6 kB / 1.39 GB, free: 6.211 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 4.424e-05/0.5138, allocations: 7.969 kB / 1.39 GB, free: 6.203 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001978/0.514, allocations: 137.2 kB / 1.391 GB, free: 6.051 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=11): time 1.462e-06/0.514, allocations: 0 / 1.391 GB, free: 6.051 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11): time 0.0006326/0.5146, allocations: 419.6 kB / 1.391 GB, free: 5.609 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/0.5147, allocations: 85.11 kB / 1.391 GB, free: 5.508 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008208/0.5155, allocations: 0.6714 MB / 1.392 GB, free: 4.832 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.5156, allocations: 29.64 kB / 1.392 GB, free: 4.797 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002567/0.5158, allocations: 280.2 kB / 1.392 GB, free: 4.516 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.327e-05/0.5159, allocations: 27.64 kB / 1.392 GB, free: 4.488 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.434e-06/0.5159, allocations: 3.938 kB / 1.392 GB, free: 4.484 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.516, allocations: 314 kB / 1.392 GB, free: 4.172 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.349e-05/0.5161, allocations: 51.95 kB / 1.392 GB, free: 4.121 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.23e-05/0.5162, allocations: 55.97 kB / 1.392 GB, free: 4.066 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.5163, allocations: 85.61 kB / 1.393 GB, free: 3.977 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.5163, allocations: 0 / 1.393 GB, free: 3.977 MB / 0.8855 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003776/0.5167, allocations: 282.5 kB / 1.393 GB, free: 3.688 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.687e-05/0.5168, allocations: 37.7 kB / 1.393 GB, free: 3.645 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.5168, allocations: 0 / 1.393 GB, free: 3.645 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.5168, allocations: 0 / 1.393 GB, free: 3.645 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.192e-05/0.5169, allocations: 11.98 kB / 1.393 GB, free: 3.633 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.5169, allocations: 3.938 kB / 1.393 GB, free: 3.629 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.517, allocations: 15.91 kB / 1.393 GB, free: 3.613 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.814e-05/0.5171, allocations: 4 kB / 1.393 GB, free: 3.609 MB / 0.8855 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.000351/0.5174, allocations: 337.2 kB / 1.393 GB, free: 3.266 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.734e-05/0.5175, allocations: 67.2 kB / 1.393 GB, free: 3.199 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005008/0.518, allocations: 317 kB / 1.394 GB, free: 2.867 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.518, allocations: 0 / 1.394 GB, free: 2.867 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.518, allocations: 0 / 1.394 GB, free: 2.867 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.518, allocations: 0 / 1.394 GB, free: 2.867 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004021/0.5184, allocations: 373.4 kB / 1.394 GB, free: 2.453 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.5185, allocations: 4 kB / 1.394 GB, free: 2.449 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.511e-05/0.5185, allocations: 15.92 kB / 1.394 GB, free: 2.434 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.5185, allocations: 0 / 1.394 GB, free: 2.434 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.5185, allocations: 8.078 kB / 1.394 GB, free: 2.426 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.5186, allocations: 4 kB / 1.394 GB, free: 2.422 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.5186, allocations: 0 / 1.394 GB, free: 2.422 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004325/0.519, allocations: 337.8 kB / 1.394 GB, free: 2.066 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001698/0.5192, allocations: 148.3 kB / 1.394 GB, free: 1.902 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.75e-05/0.5192, allocations: 4 kB / 1.394 GB, free: 1.898 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.5193, allocations: 15.94 kB / 1.394 GB, free: 1.883 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.625e-05/0.5194, allocations: 8 kB / 1.394 GB, free: 1.875 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/0.5194, allocations: 7.984 kB / 1.394 GB, free: 1.867 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0006271/0.5201, allocations: 0.5614 MB / 1.395 GB, free: 1.312 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.6e-07/0.5201, allocations: 0 / 1.395 GB, free: 1.312 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0006195/0.5207, allocations: 147.8 kB / 1.395 GB, free: 1.168 MB / 0.8855 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.0007267/0.5214, allocations: 358.2 kB / 1.395 GB, free: 0.8203 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003133/0.5218, allocations: 203.3 kB / 1.396 GB, free: 0.6094 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5218, allocations: 0 / 1.396 GB, free: 0.6094 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000162/0.5219, allocations: 147.4 kB / 1.396 GB, free: 464 kB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004744/0.5224, allocations: 95.94 kB / 1.396 GB, free: 368 kB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/0.524, allocations: 1.1 MB / 1.397 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005976/0.5246, allocations: 0.9741 MB / 1.398 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 8.977e-05/0.5247, allocations: 17.55 kB / 1.398 GB, free: 14.21 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.188e-05/0.5247, allocations: 15.44 kB / 1.398 GB, free: 14.2 MB / 0.9011 GB Notification: Performance of SimCode: time 7.01e-07/0.5247, allocations: 0 / 1.398 GB, free: 14.2 MB / 0.9011 GB Notification: Performance of Templates: time 0.01236/0.5371, allocations: 6.219 MB / 1.404 GB, free: 8.059 MB / 0.9011 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