Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.907/1.907, allocations: 387.2 MB / 394.5 MB, free: 13.33 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.001048/0.001048, allocations: 181.6 kB / 487 MB, free: 0.75 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 221.3 MB / 0.7819 GB, free: 6.832 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009222/0.0009222, allocations: 102.6 kB / 0.9213 GB, free: 43.76 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 7.965e-06/7.975e-06, allocations: 4 kB / 1.066 GB, free: 7.629 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7122/0.7122, allocations: 142.3 MB / 1.205 GB, free: 72.73 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1798/0.892, allocations: 148.5 MB / 1.35 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002197/0.8923, allocations: 71.95 kB / 1.35 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.003683/0.896, allocations: 1.052 MB / 1.351 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.896, allocations: 0 / 1.351 GB, free: 13.71 MB / 0.8542 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.000328/0.8963, allocations: 345.9 kB / 1.352 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.8964, allocations: 8.031 kB / 1.352 GB, free: 13.33 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.602e-05/0.8964, allocations: 7.188 kB / 1.352 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.8966, allocations: 173.6 kB / 1.352 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.8966, allocations: 0 / 1.352 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.8966, allocations: 0 / 1.352 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.914e-05/0.8967, allocations: 12 kB / 1.352 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.929e-05/0.8967, allocations: 39.16 kB / 1.352 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.8968, allocations: 0 / 1.352 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.8968, allocations: 0 / 1.352 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.8968, allocations: 3.938 kB / 1.352 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003838/0.8972, allocations: 254.4 kB / 1.352 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.344e-05/0.8972, allocations: 27.08 kB / 1.352 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.751e-05/0.8973, allocations: 16.92 kB / 1.352 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.165e-05/0.8974, allocations: 81.11 kB / 1.352 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.8974, allocations: 30.56 kB / 1.352 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.8974, allocations: 0 / 1.352 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.000178/0.8976, allocations: 41.69 kB / 1.352 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.744e-05/0.8976, allocations: 55.41 kB / 1.352 GB, free: 12.47 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.856e-05/0.8977, allocations: 93 kB / 1.352 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.8977, allocations: 25.7 kB / 1.352 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.202e-05/0.8977, allocations: 84.17 kB / 1.353 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.726e-05/0.8978, allocations: 3.906 kB / 1.353 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-06/0.8978, allocations: 0 / 1.353 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.047e-05/0.8979, allocations: 322.8 kB / 1.353 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.289e-05/0.8979, allocations: 0 / 1.353 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.531e-05/0.8979, allocations: 11.94 kB / 1.353 GB, free: 11.92 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.211e-05/0.8979, allocations: 4 kB / 1.353 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.898, allocations: 3.906 kB / 1.353 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.079e-05/0.898, allocations: 45.77 kB / 1.353 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.457e-06/0.8981, allocations: 4 kB / 1.353 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.8981, allocations: 0 / 1.353 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.8981, allocations: 3.984 kB / 1.353 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.231e-05/0.8982, allocations: 12.73 kB / 1.353 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.8982, allocations: 4 kB / 1.353 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.535e-05/0.8983, allocations: 12.02 kB / 1.353 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.8983, allocations: 4 kB / 1.353 GB, free: 11.82 MB / 0.8542 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.553e-05/0.8983, allocations: 107.4 kB / 1.353 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.362e-05/0.8984, allocations: 0 / 1.353 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001144/0.8985, allocations: 52.94 kB / 1.353 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.8985, allocations: 0 / 1.353 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.8985, allocations: 1.188 kB / 1.353 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.8985, allocations: 7.938 kB / 1.353 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.8986, allocations: 142.2 kB / 1.353 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.8986, allocations: 0 / 1.353 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.391e-05/0.8987, allocations: 11.94 kB / 1.353 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.8987, allocations: 7.984 kB / 1.353 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.8987, allocations: 0 / 1.353 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.8987, allocations: 1.062 kB / 1.353 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.8987, allocations: 0 / 1.353 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000115/0.8989, allocations: 143.5 kB / 1.353 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.046e-05/0.8989, allocations: 81.09 kB / 1.354 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.8989, allocations: 3.906 kB / 1.354 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.805e-05/0.899, allocations: 8 kB / 1.354 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-05/0.8991, allocations: 11.95 kB / 1.354 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-06/0.8991, allocations: 0 / 1.354 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.489e-05/0.8991, allocations: 79.84 kB / 1.354 GB, free: 11.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002122/0.8993, allocations: 23.94 kB / 1.354 GB, free: 11.07 MB / 0.8542 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.0001493/0.8995, allocations: 111.2 kB / 1.354 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 6.775e-05/0.8996, allocations: 12 kB / 1.354 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.8996, allocations: 0 / 1.354 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.033e-05/0.8996, allocations: 4 kB / 1.354 GB, free: 10.94 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001601/0.8998, allocations: 10.14 kB / 1.354 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002127/0.9, allocations: 62.52 kB / 1.354 GB, free: 10.85 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002395/0.9002, allocations: 0.688 MB / 1.354 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of SimCode: time 2.3e-07/0.9002, allocations: 0 / 1.354 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of Templates: time 0.002223/0.9025, allocations: 0.5314 MB / 1.355 GB, free: 9.637 MB / 0.8542 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_SmoothExponential.csv","../files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches