Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.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.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.213/1.213, allocations: 249.4 MB / 256.7 MB, free: 6.969 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.001164/0.001164, allocations: 184.4 kB / 316 MB, free: 3.562 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.027/1.027, allocations: 205.1 MB / 0.5667 GB, free: 15.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.0007692/0.0007692, allocations: 93.44 kB / 0.671 GB, free: 4.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.141e-06/6.172e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1353, allocations: 106.3 MB / 0.8846 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3909/0.5262, allocations: 132 MB / 1.013 GB, free: 7.031 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001711/0.5264, allocations: 79 kB / 1.014 GB, free: 6.988 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.003393/0.5298, allocations: 1.03 MB / 1.015 GB, free: 6.141 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.5298, allocations: 0 / 1.015 GB, free: 6.141 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000316/0.5302, allocations: 357.1 kB / 1.015 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.5302, allocations: 12.03 kB / 1.015 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.241e-05/0.5302, allocations: 0 / 1.015 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.5304, allocations: 178.9 kB / 1.015 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.779e-06/0.5304, allocations: 0.75 kB / 1.015 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.642e-06/0.5304, allocations: 0 / 1.015 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.628e-05/0.5304, allocations: 15.75 kB / 1.015 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.607e-05/0.5305, allocations: 33.45 kB / 1.015 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.5305, allocations: 0 / 1.015 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.824e-06/0.5305, allocations: 0 / 1.015 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/0.5305, allocations: 0 / 1.015 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000339/0.5309, allocations: 251.5 kB / 1.015 GB, free: 5.199 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.816e-05/0.5309, allocations: 29.33 kB / 1.015 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.352e-05/0.531, allocations: 12.48 kB / 1.015 GB, free: 5.152 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.58e-05/0.5311, allocations: 81.09 kB / 1.015 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.5311, allocations: 38.55 kB / 1.015 GB, free: 5.008 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.5311, allocations: 4 kB / 1.015 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001599/0.5313, allocations: 41.05 kB / 1.016 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/0.5313, allocations: 51.41 kB / 1.016 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.79e-05/0.5314, allocations: 96.12 kB / 1.016 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.5314, allocations: 25.7 kB / 1.016 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.96e-05/0.5314, allocations: 91.25 kB / 1.016 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.383e-05/0.5314, allocations: 3.906 kB / 1.016 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-06/0.5314, allocations: 0 / 1.016 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.5315, allocations: 314.9 kB / 1.016 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.515e-05/0.5316, allocations: 7.875 kB / 1.016 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.203e-05/0.5316, allocations: 4 kB / 1.016 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.984e-05/0.5316, allocations: 7.562 kB / 1.016 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.5316, allocations: 0 / 1.016 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.633e-05/0.5317, allocations: 41 kB / 1.016 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.5317, allocations: 11.91 kB / 1.016 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.5317, allocations: 0 / 1.016 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.596e-06/0.5317, allocations: 96 / 1.016 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.584e-05/0.5318, allocations: 15.98 kB / 1.016 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.5318, allocations: 0 / 1.016 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.245e-05/0.5319, allocations: 11.94 kB / 1.016 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-06/0.5319, allocations: 0 / 1.016 GB, free: 4.266 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 (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 5.275e-05/0.532, allocations: 112.9 kB / 1.016 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.273e-05/0.532, allocations: 7.906 kB / 1.016 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.5321, allocations: 51.08 kB / 1.016 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.5321, allocations: 0 / 1.016 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.5321, allocations: 0 / 1.016 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-06/0.5321, allocations: 4 kB / 1.016 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.5323, allocations: 133.9 kB / 1.016 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.5323, allocations: 0 / 1.016 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.036e-05/0.5323, allocations: 19.92 kB / 1.016 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.5323, allocations: 0 / 1.016 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.67e-06/0.5324, allocations: 0 / 1.016 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.5324, allocations: 0 / 1.016 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.5324, allocations: 256 / 1.016 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000104/0.5325, allocations: 145.3 kB / 1.017 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.708e-05/0.5325, allocations: 89.14 kB / 1.017 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.5325, allocations: 0 / 1.017 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.497e-05/0.5326, allocations: 7.984 kB / 1.017 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.764e-05/0.5327, allocations: 11.38 kB / 1.017 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.5327, allocations: 0 / 1.017 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.443e-05/0.5327, allocations: 79.28 kB / 1.017 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002183/0.5329, allocations: 15.94 kB / 1.017 GB, free: 3.539 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 (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.0001285/0.5331, allocations: 111.2 kB / 1.017 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.029e-05/0.5331, allocations: 15 kB / 1.017 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.5331, allocations: 4 kB / 1.017 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.84e-05/0.5332, allocations: 7.938 kB / 1.017 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001395/0.5333, allocations: 3.906 kB / 1.017 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000163/0.5335, allocations: 63.72 kB / 1.017 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002172/0.5337, allocations: 0.692 MB / 1.018 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of SimCode: time 2.31e-07/0.5337, allocations: 0 / 1.018 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of Templates: time 0.002135/0.5358, allocations: 0.5333 MB / 1.018 GB, free: 2.078 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Examples_SmoothExponential.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches