Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.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.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential") [: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 10.0.0-master/package.mo): time 1.952/1.952, allocations: 390.4 MB / 397.7 MB, free: 10.68 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001103, allocations: 184.8 kB / 490.8 MB, free: 11.22 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.269/1.269, allocations: 221.4 MB / 0.7863 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 97.58 kB / 0.9264 GB, free: 4.602 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 9.889e-06/9.908e-06, allocations: 4 kB / 1.072 GB, free: 15.63 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8272/0.8272, allocations: 143 MB / 1.212 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1833/1.011, allocations: 149.3 MB / 1.357 GB, free: 42.33 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002219/1.011, allocations: 69 kB / 1.357 GB, free: 42.26 MB / 0.8855 GB Notification: Performance of FrontEnd: time 0.003438/1.014, allocations: 1.053 MB / 1.358 GB, free: 41.24 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.575e-06/1.014, allocations: 0.5 kB / 1.358 GB, free: 41.24 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003008/1.015, allocations: 345.7 kB / 1.359 GB, free: 40.86 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/1.015, allocations: 12.03 kB / 1.359 GB, free: 40.85 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.276e-05/1.015, allocations: 5.25 kB / 1.359 GB, free: 40.84 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.78e-05/1.015, allocations: 167 kB / 1.359 GB, free: 40.64 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/1.015, allocations: 4 kB / 1.359 GB, free: 40.64 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/1.015, allocations: 7.875 kB / 1.359 GB, free: 40.63 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.987e-05/1.015, allocations: 8.5 kB / 1.359 GB, free: 40.62 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.458e-05/1.015, allocations: 41.61 kB / 1.359 GB, free: 40.58 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/1.015, allocations: 0 / 1.359 GB, free: 40.58 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/1.015, allocations: 7.891 kB / 1.359 GB, free: 40.57 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/1.015, allocations: 0 / 1.359 GB, free: 40.57 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003431/1.015, allocations: 238.8 kB / 1.359 GB, free: 40.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 5.192e-05/1.015, allocations: 31.98 kB / 1.359 GB, free: 40.26 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.464e-05/1.016, allocations: 8.922 kB / 1.359 GB, free: 40.25 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 8.052e-05/1.016, allocations: 81.78 kB / 1.359 GB, free: 40.15 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.612e-05/1.016, allocations: 40.56 kB / 1.359 GB, free: 40.11 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/1.016, allocations: 5.062 kB / 1.359 GB, free: 40.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 0.0001799/1.016, allocations: 37.08 kB / 1.359 GB, free: 40.06 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.914e-05/1.016, allocations: 56.19 kB / 1.36 GB, free: 40 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.24e-05/1.016, allocations: 92.98 kB / 1.36 GB, free: 39.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.296e-06/1.016, allocations: 26.27 kB / 1.36 GB, free: 39.87 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 2.902e-05/1.016, allocations: 89.05 kB / 1.36 GB, free: 39.78 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/1.016, allocations: 3.906 kB / 1.36 GB, free: 39.77 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-06/1.016, allocations: 0.5 kB / 1.36 GB, free: 39.77 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 4.521e-05/1.016, allocations: 311.8 kB / 1.36 GB, free: 39.46 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.484e-05/1.016, allocations: 8 kB / 1.36 GB, free: 39.45 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.174e-05/1.016, allocations: 4.594 kB / 1.36 GB, free: 39.45 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.272e-05/1.016, allocations: 4.625 kB / 1.36 GB, free: 39.45 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/1.016, allocations: 5.406 kB / 1.36 GB, free: 39.44 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.208e-05/1.016, allocations: 45.59 kB / 1.36 GB, free: 39.39 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/1.016, allocations: 4 kB / 1.36 GB, free: 39.39 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/1.016, allocations: 4.875 kB / 1.36 GB, free: 39.38 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/1.016, allocations: 0 / 1.36 GB, free: 39.38 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.141e-05/1.016, allocations: 13.14 kB / 1.36 GB, free: 39.37 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.858e-06/1.016, allocations: 0.5625 kB / 1.36 GB, free: 39.37 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.312e-05/1.016, allocations: 13.89 kB / 1.36 GB, free: 39.36 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/1.016, allocations: 1.875 kB / 1.36 GB, free: 39.36 MB / 0.8855 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 (2): * Single equations (assignments): 2 * 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.554e-05/1.016, allocations: 108.9 kB / 1.36 GB, free: 39.25 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.525e-05/1.017, allocations: 8 kB / 1.36 GB, free: 39.24 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001082/1.017, allocations: 49.94 kB / 1.36 GB, free: 39.19 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/1.017, allocations: 3.938 kB / 1.36 GB, free: 39.19 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/1.017, allocations: 0.875 kB / 1.36 GB, free: 39.19 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/1.017, allocations: 0 / 1.36 GB, free: 39.19 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.847e-05/1.017, allocations: 142.9 kB / 1.36 GB, free: 39.01 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/1.017, allocations: 0 / 1.36 GB, free: 39.01 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.744e-05/1.017, allocations: 13.45 kB / 1.36 GB, free: 39 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/1.017, allocations: 0.625 kB / 1.36 GB, free: 39 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/1.017, allocations: 0 / 1.36 GB, free: 39 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/1.017, allocations: 0.5625 kB / 1.36 GB, free: 39 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/1.017, allocations: 0 / 1.36 GB, free: 39 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.687e-05/1.017, allocations: 141.4 kB / 1.361 GB, free: 38.85 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 1.847e-05/1.017, allocations: 77.11 kB / 1.361 GB, free: 38.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/1.017, allocations: 5.406 kB / 1.361 GB, free: 38.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.428e-05/1.017, allocations: 12.23 kB / 1.361 GB, free: 38.74 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.622e-05/1.017, allocations: 11.89 kB / 1.361 GB, free: 38.73 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/1.017, allocations: 0.5938 kB / 1.361 GB, free: 38.73 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.167e-05/1.017, allocations: 89.78 kB / 1.361 GB, free: 38.64 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002128/1.017, allocations: 20.42 kB / 1.361 GB, free: 38.62 MB / 0.8855 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 (2): * Single equations (assignments): 2 * 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.0001422/1.018, allocations: 108.3 kB / 1.361 GB, free: 38.51 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 8.166e-05/1.018, allocations: 12.78 kB / 1.361 GB, free: 38.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/1.018, allocations: 0 / 1.361 GB, free: 38.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.077e-05/1.018, allocations: 13.03 kB / 1.361 GB, free: 38.49 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001678/1.018, allocations: 0 / 1.361 GB, free: 38.49 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002159/1.018, allocations: 60.48 kB / 1.361 GB, free: 38.41 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/1.018, allocations: 0.6935 MB / 1.362 GB, free: 37.69 MB / 0.8855 GB Notification: Performance of SimCode: time 2.71e-07/1.018, allocations: 0 / 1.362 GB, free: 37.69 MB / 0.8855 GB Notification: Performance of Templates: time 0.002489/1.021, allocations: 0.5353 MB / 1.362 GB, free: 37.21 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothExponential.csv","../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches