Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.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.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") [: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.186/1.186, allocations: 249.4 MB / 256.7 MB, free: 7.023 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.0009434/0.0009434, allocations: 185.2 kB / 316 MB, free: 3.555 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.063/1.063, allocations: 205.1 MB / 0.5667 GB, free: 15.62 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.0007946/0.0007945, allocations: 98.69 kB / 0.671 GB, free: 4.746 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.222e-06/6.242e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1568, allocations: 106.3 MB / 0.8846 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4529/0.6098, allocations: 132.1 MB / 1.014 GB, free: 6.871 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001727/0.61, allocations: 73.64 kB / 1.014 GB, free: 6.832 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002866/0.6129, allocations: 0.7303 MB / 1.014 GB, free: 6.211 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.6129, allocations: 0 / 1.014 GB, free: 6.211 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.000318/0.6132, allocations: 350 kB / 1.015 GB, free: 5.828 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.6133, allocations: 8.031 kB / 1.015 GB, free: 5.82 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.427e-05/0.6133, allocations: 0 / 1.015 GB, free: 5.82 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.6134, allocations: 171 kB / 1.015 GB, free: 5.613 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.6135, allocations: 0 / 1.015 GB, free: 5.613 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.6135, allocations: 4 kB / 1.015 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.816e-05/0.6135, allocations: 11.56 kB / 1.015 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.099e-05/0.6136, allocations: 45.23 kB / 1.015 GB, free: 5.555 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.6136, allocations: 3.938 kB / 1.015 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/0.6136, allocations: 0 / 1.015 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-06/0.6136, allocations: 0 / 1.015 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003354/0.614, allocations: 245.1 kB / 1.015 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.794e-05/0.614, allocations: 26.2 kB / 1.015 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.281e-05/0.6141, allocations: 10.61 kB / 1.015 GB, free: 5.242 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000165/0.6142, allocations: 89.16 kB / 1.015 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.6143, allocations: 34.56 kB / 1.015 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 9.71e-07/0.6143, allocations: 0 / 1.015 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001491/0.6144, allocations: 45.19 kB / 1.015 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.6145, allocations: 55.31 kB / 1.015 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.836e-05/0.6145, allocations: 92.94 kB / 1.015 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.6145, allocations: 25.7 kB / 1.015 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.877e-05/0.6146, allocations: 84.14 kB / 1.016 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.405e-05/0.6146, allocations: 7.844 kB / 1.016 GB, free: 4.762 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/0.6146, allocations: 4.031 kB / 1.016 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.6147, allocations: 318.4 kB / 1.016 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.409e-05/0.6147, allocations: 4 kB / 1.016 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.102e-05/0.6148, allocations: 7.188 kB / 1.016 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.512e-05/0.6148, allocations: 0 / 1.016 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.6148, allocations: 0 / 1.016 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.333e-05/0.6149, allocations: 41.58 kB / 1.016 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.739e-06/0.6149, allocations: 7.938 kB / 1.016 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-06/0.6149, allocations: 4.094 kB / 1.016 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.966e-06/0.6149, allocations: 0 / 1.016 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.826e-05/0.615, allocations: 17.86 kB / 1.016 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.615, allocations: 3.906 kB / 1.016 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.118e-05/0.6151, allocations: 7.984 kB / 1.016 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.121e-05/0.6151, allocations: 8 kB / 1.016 GB, free: 4.344 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.46e-05/0.6152, allocations: 104.9 kB / 1.016 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/0.6152, allocations: 0 / 1.016 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001056/0.6153, allocations: 52.3 kB / 1.016 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.6153, allocations: 4 kB / 1.016 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.6153, allocations: 0 / 1.016 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.6153, allocations: 0 / 1.016 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.6155, allocations: 133.4 kB / 1.016 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.6155, allocations: 0 / 1.016 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.842e-05/0.6155, allocations: 19.45 kB / 1.016 GB, free: 4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.6156, allocations: 3.938 kB / 1.016 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-06/0.6156, allocations: 0 / 1.016 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.6156, allocations: 4.844 kB / 1.016 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.6156, allocations: 4 kB / 1.016 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001144/0.6157, allocations: 138.9 kB / 1.016 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.792e-05/0.6157, allocations: 81.02 kB / 1.017 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.6158, allocations: 4 kB / 1.017 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.176e-05/0.6158, allocations: 7.984 kB / 1.017 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.565e-05/0.6159, allocations: 4 kB / 1.017 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.6159, allocations: 0.5 kB / 1.017 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.841e-05/0.6159, allocations: 82.39 kB / 1.017 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00021/0.6161, allocations: 20.03 kB / 1.017 GB, free: 3.629 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.0001973/0.6163, allocations: 123.5 kB / 1.017 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.497e-05/0.6164, allocations: 19.81 kB / 1.017 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.6164, allocations: 4 kB / 1.017 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.7e-05/0.6164, allocations: 7 kB / 1.017 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001407/0.6166, allocations: 1.891 kB / 1.017 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001702/0.6168, allocations: 67.17 kB / 1.017 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002283/0.617, allocations: 0.688 MB / 1.018 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of SimCode: time 2.11e-07/0.617, allocations: 0 / 1.018 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of Templates: time 0.0022/0.6192, allocations: 0.6219 MB / 1.018 GB, free: 2.062 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches