Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.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.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|modTim.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|modTim.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.375/1.375, allocations: 252 MB / 266.9 MB, free: 11.06 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.001149/0.001149, allocations: 179.5 kB / 326.5 MB, free: 2.262 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.844/1.844, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.000988/0.0009881, allocations: 93.97 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003809/0.000381, allocations: 6.781 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2523, allocations: 106.3 MB / 0.9001 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1592/0.4116, allocations: 131 MB / 1.028 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001897/0.4118, allocations: 67.95 kB / 1.028 GB, free: 12.74 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0004113/0.4122, allocations: 380.8 kB / 1.028 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.202e-06/0.4122, allocations: 0 / 1.028 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.4123, allocations: 4 kB / 1.028 GB, free: 12.36 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002336/0.4125, allocations: 307.5 kB / 1.029 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.4125, allocations: 8.031 kB / 1.029 GB, free: 12 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.171e-05/0.4126, allocations: 0 / 1.029 GB, free: 12 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.4127, allocations: 167 kB / 1.029 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.4127, allocations: 0 / 1.029 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.214e-06/0.4127, allocations: 0 / 1.029 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.407e-05/0.4128, allocations: 33.69 kB / 1.029 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.4128, allocations: 4 kB / 1.029 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.4128, allocations: 0 / 1.029 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.4128, allocations: 0 / 1.029 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.927e-05/0.4129, allocations: 3.938 kB / 1.029 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001469/0.413, allocations: 153.6 kB / 1.029 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.396e-05/0.4131, allocations: 14.58 kB / 1.029 GB, free: 11.53 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.36e-06/0.4131, allocations: 0 / 1.029 GB, free: 11.53 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.4131, allocations: 30.56 kB / 1.029 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.4131, allocations: 4.094 kB / 1.029 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001188/0.4132, allocations: 45.62 kB / 1.029 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.4133, allocations: 51.41 kB / 1.029 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.19e-05/0.4133, allocations: 85 kB / 1.029 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.4133, allocations: 25.7 kB / 1.029 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.457e-05/0.4134, allocations: 84.08 kB / 1.029 GB, free: 11.17 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.933e-05/0.4134, allocations: 3.906 kB / 1.029 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.593e-06/0.4134, allocations: 0 / 1.029 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.4135, allocations: 315 kB / 1.03 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.106e-06/0.4135, allocations: 4 kB / 1.03 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.697e-06/0.4135, allocations: 0 / 1.03 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.433e-05/0.4136, allocations: 0 / 1.03 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.4136, allocations: 0 / 1.03 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.055e-05/0.4136, allocations: 49.58 kB / 1.03 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.4136, allocations: 4 kB / 1.03 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.4137, allocations: 0 / 1.03 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.4137, allocations: 0 / 1.03 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.53e-05/0.4137, allocations: 12.09 kB / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.4137, allocations: 0 / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.456e-06/0.4138, allocations: 0 / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.4138, allocations: 0 / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 6.747e-05/0.4138, allocations: 105.8 kB / 1.03 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.773e-06/0.4139, allocations: 3.953 kB / 1.03 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.79e-05/0.4139, allocations: 3.125 kB / 1.03 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.4139, allocations: 7.938 kB / 1.03 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.4139, allocations: 3.984 kB / 1.03 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.4139, allocations: 4 kB / 1.03 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.789e-05/0.414, allocations: 145.7 kB / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.414, allocations: 0 / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.998e-06/0.414, allocations: 4 kB / 1.03 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.414, allocations: 3.953 kB / 1.03 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.414, allocations: 0 / 1.03 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.414, allocations: 0 / 1.03 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.414, allocations: 0 / 1.03 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.081e-05/0.4141, allocations: 65.05 kB / 1.03 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.648e-05/0.4142, allocations: 81.11 kB / 1.03 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.4142, allocations: 3.953 kB / 1.03 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.012e-06/0.4142, allocations: 0 / 1.03 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.337e-05/0.4142, allocations: 4 kB / 1.03 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-06/0.4142, allocations: 0 / 1.03 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.666e-05/0.4142, allocations: 75.28 kB / 1.03 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4142, allocations: 0 / 1.03 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001741/0.4144, allocations: 4 kB / 1.03 GB, free: 10.17 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 8.81e-05/0.4145, allocations: 99.27 kB / 1.03 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 5.101e-05/0.4146, allocations: 4 kB / 1.03 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4146, allocations: 0 / 1.03 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.871e-06/0.4146, allocations: 3.938 kB / 1.03 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.576e-05/0.4147, allocations: 7.938 kB / 1.03 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001952/0.4149, allocations: 74.77 kB / 1.03 GB, free: 9.949 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002397/0.4151, allocations: 0.6774 MB / 1.031 GB, free: 9.246 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.242e-05/0.4151, allocations: 7.938 kB / 1.031 GB, free: 9.238 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.706e-05/0.4152, allocations: 7.438 kB / 1.031 GB, free: 9.23 MB / 0.6823 GB Notification: Performance of SimCode: time 3.11e-07/0.4152, allocations: 0 / 1.031 GB, free: 9.23 MB / 0.6823 GB Notification: Performance of Templates: time 0.001536/0.4167, allocations: 152.1 kB / 1.031 GB, free: 9.082 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Time_Examples_ModelTime.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches