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.394/2.394, allocations: 393.5 MB / 408.4 MB, free: 10.99 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.001654/0.001654, allocations: 179.9 kB / 0.4902 GB, free: 2.234 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.753/1.753, allocations: 223.2 MB / 0.7992 GB, free: 14.77 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.001072/0.001072, allocations: 95.09 kB / 0.9396 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004161/0.0004161, allocations: 11.53 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3776/0.3781, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2051/0.5832, allocations: 157 MB / 1.383 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003104/0.5836, allocations: 99.94 kB / 1.383 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.03588/0.6195, allocations: 13.15 MB / 1.395 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.445e-06/0.6195, allocations: 0 / 1.395 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.171e-05/0.6196, allocations: 8 kB / 1.395 GB, free: 15.22 MB / 0.9011 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.001451/0.621, allocations: 0.8138 MB / 1.396 GB, free: 14.35 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.6211, allocations: 8.562 kB / 1.396 GB, free: 14.34 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001491/0.6212, allocations: 63.25 kB / 1.396 GB, free: 14.28 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005925/0.6218, allocations: 355.6 kB / 1.397 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.6219, allocations: 8 kB / 1.397 GB, free: 13.88 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/0.6219, allocations: 8 kB / 1.397 GB, free: 13.88 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002664/0.6222, allocations: 132 kB / 1.397 GB, free: 13.74 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.6222, allocations: 0 / 1.397 GB, free: 13.74 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.6222, allocations: 8 kB / 1.397 GB, free: 13.73 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.6222, allocations: 0 / 1.397 GB, free: 13.73 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001776/0.6224, allocations: 104.1 kB / 1.397 GB, free: 13.63 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009291/0.6233, allocations: 0.5513 MB / 1.397 GB, free: 13.03 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.6236, allocations: 126.4 kB / 1.398 GB, free: 12.89 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 4.387e-05/0.6236, allocations: 4.031 kB / 1.398 GB, free: 12.89 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002043/0.6238, allocations: 145.2 kB / 1.398 GB, free: 12.73 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=11): time 1.863e-06/0.6238, allocations: 0 / 1.398 GB, free: 12.73 MB / 0.9011 GB Notification: Performance of matching and sorting (n=11): time 0.0006285/0.6245, allocations: 415.6 kB / 1.398 GB, free: 12.29 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.814e-05/0.6245, allocations: 85.05 kB / 1.398 GB, free: 12.19 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008791/0.6254, allocations: 0.6753 MB / 1.399 GB, free: 11.51 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.6255, allocations: 29.7 kB / 1.399 GB, free: 11.47 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002417/0.6257, allocations: 272.3 kB / 1.399 GB, free: 11.2 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 3.981e-05/0.6258, allocations: 31.53 kB / 1.399 GB, free: 11.17 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.538e-06/0.6258, allocations: 8 kB / 1.399 GB, free: 11.16 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.6259, allocations: 306 kB / 1.399 GB, free: 10.86 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.319e-05/0.626, allocations: 51.97 kB / 1.4 GB, free: 10.8 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.939e-05/0.6261, allocations: 59.95 kB / 1.4 GB, free: 10.75 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.969e-05/0.6262, allocations: 77.69 kB / 1.4 GB, free: 10.66 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.6262, allocations: 0 / 1.4 GB, free: 10.66 MB / 0.9011 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003817/0.6266, allocations: 290.4 kB / 1.4 GB, free: 10.37 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.938e-05/0.6266, allocations: 33.69 kB / 1.4 GB, free: 10.33 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.6266, allocations: 4 kB / 1.4 GB, free: 10.32 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.6267, allocations: 4 kB / 1.4 GB, free: 10.32 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.587e-05/0.6267, allocations: 8 kB / 1.4 GB, free: 10.31 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.6268, allocations: 0 / 1.4 GB, free: 10.31 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.6269, allocations: 11.89 kB / 1.4 GB, free: 10.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.063e-05/0.6269, allocations: 8 kB / 1.4 GB, free: 10.29 MB / 0.9011 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.0003492/0.6273, allocations: 328.2 kB / 1.4 GB, free: 9.957 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.359e-05/0.6274, allocations: 67.2 kB / 1.4 GB, free: 9.891 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004983/0.6279, allocations: 332.9 kB / 1.401 GB, free: 9.547 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.6279, allocations: 4 kB / 1.401 GB, free: 9.543 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.6279, allocations: 0 / 1.401 GB, free: 9.543 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.6279, allocations: 0 / 1.401 GB, free: 9.543 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004098/0.6283, allocations: 365.5 kB / 1.401 GB, free: 9.137 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.6283, allocations: 0 / 1.401 GB, free: 9.137 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.243e-05/0.6284, allocations: 8 kB / 1.401 GB, free: 9.129 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.6284, allocations: 0 / 1.401 GB, free: 9.129 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.334e-05/0.6284, allocations: 20.05 kB / 1.401 GB, free: 9.109 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.6284, allocations: 4 kB / 1.401 GB, free: 9.105 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.6284, allocations: 0 / 1.401 GB, free: 9.105 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004329/0.6289, allocations: 326 kB / 1.401 GB, free: 8.762 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001842/0.6291, allocations: 148.3 kB / 1.402 GB, free: 8.598 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.332e-05/0.6291, allocations: 11.88 kB / 1.402 GB, free: 8.586 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.6292, allocations: 15.95 kB / 1.402 GB, free: 8.57 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.855e-05/0.6293, allocations: 3.984 kB / 1.402 GB, free: 8.566 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.256e-05/0.6293, allocations: 11.94 kB / 1.402 GB, free: 8.555 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0006828/0.63, allocations: 0.5575 MB / 1.402 GB, free: 8.004 MB / 0.9011 GB Notification: Performance of sort global known variables: time 3.61e-07/0.63, allocations: 4 kB / 1.402 GB, free: 8 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0006347/0.6307, allocations: 155.8 kB / 1.402 GB, free: 7.848 MB / 0.9011 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.0008248/0.6315, allocations: 345.9 kB / 1.403 GB, free: 7.508 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0003103/0.6318, allocations: 207.3 kB / 1.403 GB, free: 7.293 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.6318, allocations: 0 / 1.403 GB, free: 7.293 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.632, allocations: 147.3 kB / 1.403 GB, free: 7.137 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004898/0.6325, allocations: 98.86 kB / 1.403 GB, free: 7.039 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001653/0.6342, allocations: 1.09 MB / 1.404 GB, free: 5.918 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006229/0.6348, allocations: 0.9741 MB / 1.405 GB, free: 4.918 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001047/0.6349, allocations: 21.55 kB / 1.405 GB, free: 4.898 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.225e-05/0.6349, allocations: 15.44 kB / 1.405 GB, free: 4.883 MB / 0.9011 GB Notification: Performance of SimCode: time 4.01e-07/0.6349, allocations: 0 / 1.405 GB, free: 4.883 MB / 0.9011 GB Notification: Performance of Templates: time 0.013/0.648, allocations: 6.21 MB / 1.411 GB, free: 14.75 MB / 0.9167 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