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.409/1.409, allocations: 249.3 MB / 261.8 MB, free: 5.906 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001276/0.001276, allocations: 182.2 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.138/2.138, allocations: 205.2 MB / 0.572 GB, free: 10.61 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.0009293/0.0009295, allocations: 86.53 kB / 0.6764 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.696e-05/3.698e-05, allocations: 4 kB / 0.7879 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2493, allocations: 106.3 MB / 0.8918 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8796/1.129, allocations: 130.9 MB / 1.02 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003284/1.129, allocations: 76 kB / 1.02 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0006479/1.13, allocations: 378.8 kB / 1.02 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.866e-06/1.13, allocations: 0 / 1.02 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.508e-06/1.13, allocations: 0 / 1.02 GB, free: 3.359 MB / 0.6355 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.0003167/1.13, allocations: 305.4 kB / 1.02 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.794e-05/1.13, allocations: 8.094 kB / 1.02 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.311e-05/1.131, allocations: 7.5 kB / 1.02 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/1.131, allocations: 163 kB / 1.02 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/1.131, allocations: 0 / 1.02 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/1.131, allocations: 0 / 1.02 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/1.131, allocations: 29.69 kB / 1.021 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/1.131, allocations: 3.938 kB / 1.021 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/1.131, allocations: 4 kB / 1.021 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/1.131, allocations: 0 / 1.021 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.758e-05/1.131, allocations: 3.938 kB / 1.021 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001857/1.131, allocations: 152.8 kB / 1.021 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.75e-05/1.131, allocations: 18.61 kB / 1.021 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.022e-05/1.131, allocations: 8.484 kB / 1.021 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/1.131, allocations: 4.062 kB / 1.021 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/1.131, allocations: 30.56 kB / 1.021 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/1.131, allocations: 0 / 1.021 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001393/1.131, allocations: 41.62 kB / 1.021 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.307e-05/1.131, allocations: 54.14 kB / 1.021 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.958e-05/1.132, allocations: 85 kB / 1.021 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/1.132, allocations: 25.7 kB / 1.021 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.55e-05/1.132, allocations: 80.14 kB / 1.021 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.903e-05/1.132, allocations: 0 / 1.021 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.164e-06/1.132, allocations: 0 / 1.021 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001539/1.132, allocations: 318.2 kB / 1.021 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.305e-06/1.132, allocations: 4.031 kB / 1.021 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.438e-06/1.132, allocations: 0 / 1.021 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.997e-05/1.132, allocations: 0 / 1.021 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/1.132, allocations: 4 kB / 1.021 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.711e-05/1.132, allocations: 33.66 kB / 1.021 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/1.132, allocations: 11.92 kB / 1.021 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/1.132, allocations: 0 / 1.021 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/1.132, allocations: 0 / 1.021 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/1.132, allocations: 4 kB / 1.021 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/1.132, allocations: 4.094 kB / 1.021 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.806e-05/1.132, allocations: 0 / 1.021 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/1.132, allocations: 0 / 1.021 GB, free: 1.793 MB / 0.6355 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 () * 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 8.491e-05/1.132, allocations: 104.2 kB / 1.021 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.001e-05/1.132, allocations: 7.953 kB / 1.021 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.606e-05/1.132, allocations: 7.078 kB / 1.021 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/1.132, allocations: 0 / 1.021 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/1.132, allocations: 0 / 1.021 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/1.132, allocations: 0 / 1.021 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/1.132, allocations: 155.7 kB / 1.022 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/1.132, allocations: 0 / 1.022 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.193e-05/1.132, allocations: 4 kB / 1.022 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/1.133, allocations: 3.953 kB / 1.022 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/1.133, allocations: 6.547 kB / 1.022 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/1.133, allocations: 0 / 1.022 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/1.133, allocations: 3.938 kB / 1.022 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.141e-05/1.133, allocations: 64.56 kB / 1.022 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.86e-05/1.133, allocations: 81.14 kB / 1.022 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/1.133, allocations: 3.953 kB / 1.022 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.861e-06/1.133, allocations: 0 / 1.022 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.222e-05/1.133, allocations: 0 / 1.022 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-06/1.133, allocations: 0 / 1.022 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.584e-05/1.133, allocations: 75.28 kB / 1.022 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.1e-07/1.133, allocations: 4 kB / 1.022 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001711/1.133, allocations: 0 / 1.022 GB, free: 1.199 MB / 0.6355 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 () * 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 0.0001326/1.133, allocations: 95.25 kB / 1.022 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.691e-05/1.133, allocations: 7.75 kB / 1.022 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.133, allocations: 0 / 1.022 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.222e-06/1.133, allocations: 4 kB / 1.022 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001166/1.133, allocations: 2.734 kB / 1.022 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002065/1.134, allocations: 53.42 kB / 1.022 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/1.134, allocations: 0.6692 MB / 1.023 GB, free: 328 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.03e-05/1.134, allocations: 4 kB / 1.023 GB, free: 324 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.992e-05/1.134, allocations: 11.56 kB / 1.023 GB, free: 312 kB / 0.6355 GB Notification: Performance of SimCode: time 2.184e-06/1.134, allocations: 0 / 1.023 GB, free: 312 kB / 0.6355 GB Notification: Performance of Templates: time 0.002129/1.136, allocations: 168.6 kB / 1.023 GB, free: 156 kB / 0.6355 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