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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.182/1.182, allocations: 249.4 MB / 256.7 MB, free: 7.109 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.0009644/0.0009643, allocations: 180.3 kB / 316 MB, free: 3.574 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.06/1.06, allocations: 205.1 MB / 0.5667 GB, free: 15.63 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.000854/0.000854, allocations: 80.47 kB / 0.671 GB, free: 4.758 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.799e-06/4.819e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1486, allocations: 106.3 MB / 0.8846 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.405/0.5537, allocations: 131.2 MB / 1.013 GB, free: 7.816 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001727/0.5539, allocations: 72.2 kB / 1.013 GB, free: 7.777 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.0003058/0.5542, allocations: 58.86 kB / 1.013 GB, free: 7.727 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.5542, allocations: 0 / 1.013 GB, free: 7.727 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.0002027/0.5545, allocations: 302.5 kB / 1.013 GB, free: 7.387 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.5545, allocations: 8.031 kB / 1.013 GB, free: 7.379 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.69e-05/0.5545, allocations: 7.719 kB / 1.013 GB, free: 7.375 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.884e-05/0.5546, allocations: 163.1 kB / 1.013 GB, free: 7.176 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.5546, allocations: 4 kB / 1.013 GB, free: 7.172 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.336e-06/0.5547, allocations: 0 / 1.013 GB, free: 7.172 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.659e-05/0.5547, allocations: 0 / 1.013 GB, free: 7.172 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.115e-05/0.5547, allocations: 26.45 kB / 1.013 GB, free: 7.141 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.5548, allocations: 0 / 1.013 GB, free: 7.141 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.725e-06/0.5548, allocations: 4 kB / 1.013 GB, free: 7.137 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.5548, allocations: 4 kB / 1.013 GB, free: 7.133 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001022/0.5549, allocations: 130.1 kB / 1.013 GB, free: 6.969 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.027e-05/0.5549, allocations: 14.58 kB / 1.013 GB, free: 6.945 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.258e-05/0.5549, allocations: 9.828 kB / 1.013 GB, free: 6.934 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.476e-06/0.555, allocations: 0 / 1.013 GB, free: 6.934 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/0.555, allocations: 37.62 kB / 1.013 GB, free: 6.891 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 2.014e-06/0.555, allocations: 4 kB / 1.013 GB, free: 6.887 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 9.652e-05/0.5551, allocations: 33.69 kB / 1.013 GB, free: 6.848 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/0.5551, allocations: 51.41 kB / 1.014 GB, free: 6.785 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.198e-05/0.5552, allocations: 87.73 kB / 1.014 GB, free: 6.695 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.5552, allocations: 25.7 kB / 1.014 GB, free: 6.664 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.239e-05/0.5552, allocations: 84.08 kB / 1.014 GB, free: 6.578 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.27e-05/0.5552, allocations: 7.906 kB / 1.014 GB, free: 6.57 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.343e-06/0.5552, allocations: 0 / 1.014 GB, free: 6.57 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.406e-05/0.5553, allocations: 313.8 kB / 1.014 GB, free: 6.258 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.861e-06/0.5554, allocations: 4.031 kB / 1.014 GB, free: 6.254 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.386e-06/0.5554, allocations: 0 / 1.014 GB, free: 6.254 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.254e-05/0.5554, allocations: 4 kB / 1.014 GB, free: 6.25 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.5554, allocations: 0 / 1.014 GB, free: 6.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.16e-05/0.5554, allocations: 33.69 kB / 1.014 GB, free: 6.211 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.197e-06/0.5554, allocations: 4 kB / 1.014 GB, free: 6.207 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-06/0.5554, allocations: 0 / 1.014 GB, free: 6.207 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.137e-06/0.5555, allocations: 0 / 1.014 GB, free: 6.207 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.524e-05/0.5555, allocations: 4 kB / 1.014 GB, free: 6.203 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.956e-06/0.5555, allocations: 4.094 kB / 1.014 GB, free: 6.199 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.094e-05/0.5555, allocations: 6.531 kB / 1.014 GB, free: 6.195 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.5555, allocations: 0 / 1.014 GB, free: 6.195 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 4.88e-05/0.5556, allocations: 101 kB / 1.014 GB, free: 6.09 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.08e-06/0.5556, allocations: 0 / 1.014 GB, free: 6.09 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.574e-05/0.5556, allocations: 6.953 kB / 1.014 GB, free: 6.086 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.5556, allocations: 4 kB / 1.014 GB, free: 6.082 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.5556, allocations: 3.938 kB / 1.014 GB, free: 6.078 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.5557, allocations: 0 / 1.014 GB, free: 6.078 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.7e-05/0.5557, allocations: 139.7 kB / 1.014 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.5557, allocations: 3.938 kB / 1.014 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.906e-06/0.5557, allocations: 4 kB / 1.014 GB, free: 5.902 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.5557, allocations: 0 / 1.014 GB, free: 5.902 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.027e-06/0.5558, allocations: 0 / 1.014 GB, free: 5.902 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.5558, allocations: 0 / 1.014 GB, free: 5.902 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.5558, allocations: 0 / 1.014 GB, free: 5.902 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.13e-05/0.5558, allocations: 61.02 kB / 1.014 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.165e-05/0.5559, allocations: 81.14 kB / 1.014 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.669e-06/0.5559, allocations: 4 kB / 1.014 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.691e-06/0.5559, allocations: 0 / 1.014 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.154e-06/0.5559, allocations: 0 / 1.014 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-06/0.5559, allocations: 0 / 1.014 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.02e-05/0.5559, allocations: 78.47 kB / 1.015 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001589/0.5561, allocations: 3.938 kB / 1.015 GB, free: 5.645 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 8.186e-05/0.5562, allocations: 95.25 kB / 1.015 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 4.519e-05/0.5562, allocations: 11.94 kB / 1.015 GB, free: 5.527 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.5562, allocations: 0 / 1.015 GB, free: 5.527 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.446e-06/0.5562, allocations: 0 / 1.015 GB, free: 5.527 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.928e-05/0.5563, allocations: 3.906 kB / 1.015 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001218/0.5565, allocations: 47.92 kB / 1.015 GB, free: 5.453 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001753/0.5566, allocations: 0.6802 MB / 1.015 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of SimCode: time 2.21e-07/0.5566, allocations: 0 / 1.015 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of Templates: time 0.001308/0.558, allocations: 175.7 kB / 1.016 GB, free: 4.586 MB / 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