Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.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.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|modTim.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|modTim.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.657/2.657, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001372/0.001372, allocations: 190 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.757/1.757, allocations: 223.2 MB / 0.7992 GB, free: 14.75 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.0009965/0.0009963, allocations: 94.67 kB / 0.9396 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004168/0.0004173, allocations: 10.38 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3801/0.3805, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2068/0.5874, allocations: 149.3 MB / 1.375 GB, free: 4.285 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/0.5877, allocations: 67.97 kB / 1.375 GB, free: 4.219 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005005/0.5882, allocations: 376.8 kB / 1.375 GB, free: 3.848 MB / 0.8698 GB Notification: Performance of FrontEnd: time 5.279e-06/0.5883, allocations: 0 / 1.375 GB, free: 3.848 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.5883, allocations: 3.938 kB / 1.375 GB, free: 3.844 MB / 0.8698 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.0002706/0.5886, allocations: 307.5 kB / 1.376 GB, free: 3.496 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.5886, allocations: 8.562 kB / 1.376 GB, free: 3.488 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.285e-05/0.5886, allocations: 0 / 1.376 GB, free: 3.488 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.5888, allocations: 167 kB / 1.376 GB, free: 3.285 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.5888, allocations: 4 kB / 1.376 GB, free: 3.281 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.137e-06/0.5888, allocations: 0 / 1.376 GB, free: 3.281 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.431e-05/0.5889, allocations: 33.64 kB / 1.376 GB, free: 3.242 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.699e-06/0.5889, allocations: 0 / 1.376 GB, free: 3.242 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.128e-06/0.5889, allocations: 0 / 1.376 GB, free: 3.242 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.5889, allocations: 3.984 kB / 1.376 GB, free: 3.238 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.054e-05/0.5889, allocations: 0 / 1.376 GB, free: 3.238 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001424/0.5891, allocations: 153.6 kB / 1.376 GB, free: 3.039 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.587e-05/0.5891, allocations: 27.36 kB / 1.376 GB, free: 3.004 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.5891, allocations: 0 / 1.376 GB, free: 3.004 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.5892, allocations: 30.56 kB / 1.376 GB, free: 2.965 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.5892, allocations: 4.094 kB / 1.376 GB, free: 2.961 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0001433/0.5893, allocations: 33.7 kB / 1.376 GB, free: 2.922 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/0.5894, allocations: 55.34 kB / 1.376 GB, free: 2.855 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.637e-05/0.5894, allocations: 85 kB / 1.376 GB, free: 2.766 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.5895, allocations: 25.7 kB / 1.376 GB, free: 2.734 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.282e-05/0.5895, allocations: 84.27 kB / 1.376 GB, free: 2.648 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.227e-05/0.5896, allocations: 0 / 1.376 GB, free: 2.648 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-06/0.5896, allocations: 0 / 1.376 GB, free: 2.648 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.5897, allocations: 310.8 kB / 1.377 GB, free: 2.336 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.067e-06/0.5897, allocations: 4 kB / 1.377 GB, free: 2.332 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.041e-06/0.5897, allocations: 0 / 1.377 GB, free: 2.332 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.44e-05/0.5898, allocations: 7.984 kB / 1.377 GB, free: 2.324 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.788e-06/0.5898, allocations: 3.953 kB / 1.377 GB, free: 2.32 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.077e-05/0.5899, allocations: 37.77 kB / 1.377 GB, free: 2.277 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.5899, allocations: 4 kB / 1.377 GB, free: 2.273 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.5899, allocations: 3.938 kB / 1.377 GB, free: 2.27 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.59, allocations: 0 / 1.377 GB, free: 2.27 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.626e-05/0.59, allocations: 4 kB / 1.377 GB, free: 2.266 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.59, allocations: 0 / 1.377 GB, free: 2.266 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.096e-05/0.59, allocations: 3.938 kB / 1.377 GB, free: 2.262 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.5901, allocations: 0 / 1.377 GB, free: 2.262 MB / 0.8698 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 8.213e-05/0.5901, allocations: 105.8 kB / 1.377 GB, free: 2.148 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.939e-06/0.5902, allocations: 7.984 kB / 1.377 GB, free: 2.141 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.993e-05/0.5902, allocations: 7.109 kB / 1.377 GB, free: 2.137 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.5902, allocations: 4 kB / 1.377 GB, free: 2.133 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5902, allocations: 0 / 1.377 GB, free: 2.133 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.5902, allocations: 0 / 1.377 GB, free: 2.133 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.5903, allocations: 149.6 kB / 1.377 GB, free: 1.938 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.5903, allocations: 0 / 1.377 GB, free: 1.938 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.911e-05/0.5904, allocations: 7.953 kB / 1.377 GB, free: 1.93 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.5904, allocations: 0 / 1.377 GB, free: 1.93 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.5904, allocations: 0 / 1.377 GB, free: 1.93 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.5904, allocations: 3.984 kB / 1.377 GB, free: 1.926 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.5904, allocations: 8 kB / 1.377 GB, free: 1.918 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.63e-05/0.5905, allocations: 49.14 kB / 1.377 GB, free: 1.852 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.907e-05/0.5905, allocations: 85.11 kB / 1.377 GB, free: 1.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.5906, allocations: 3.953 kB / 1.377 GB, free: 1.746 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.997e-06/0.5906, allocations: 0 / 1.377 GB, free: 1.746 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.293e-05/0.5906, allocations: 7.922 kB / 1.377 GB, free: 1.738 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-06/0.5906, allocations: 0 / 1.377 GB, free: 1.738 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.12e-05/0.5906, allocations: 79.31 kB / 1.377 GB, free: 1.66 MB / 0.8698 GB Notification: Performance of sort global known variables: time 9e-08/0.5906, allocations: 0 / 1.377 GB, free: 1.66 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002458/0.5909, allocations: 4 kB / 1.377 GB, free: 1.656 MB / 0.8698 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 0.0001179/0.591, allocations: 92.05 kB / 1.377 GB, free: 1.559 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 6.718e-05/0.5911, allocations: 4 kB / 1.377 GB, free: 1.555 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5911, allocations: 0 / 1.377 GB, free: 1.555 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.24e-06/0.5911, allocations: 0 / 1.377 GB, free: 1.555 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001051/0.5912, allocations: 9.688 kB / 1.377 GB, free: 1.547 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002072/0.5914, allocations: 78.67 kB / 1.377 GB, free: 1.441 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.5917, allocations: 0.6773 MB / 1.378 GB, free: 0.7383 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 1.614e-05/0.5918, allocations: 3.938 kB / 1.378 GB, free: 0.7344 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.809e-05/0.5918, allocations: 7.438 kB / 1.378 GB, free: 0.7266 MB / 0.8698 GB Notification: Performance of SimCode: time 2.765e-06/0.5918, allocations: 0 / 1.378 GB, free: 0.7266 MB / 0.8698 GB Notification: Performance of Templates: time 0.002051/0.5939, allocations: 156.3 kB / 1.378 GB, free: 0.5742 MB / 0.8698 GB make -j1 -f Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.makefile (rm -f Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Examples_ModelTime.csv","../files/Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches