Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.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.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1.y",fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.944/1.944, allocations: 387.2 MB / 394.5 MB, free: 13.65 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 173.2 kB / 487 MB, free: 5.355 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.255/1.255, allocations: 221.3 MB / 0.7819 GB, free: 1.441 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000958/0.0009583, allocations: 86.08 kB / 0.9213 GB, free: 2.711 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.005e-06/8.025e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.258, allocations: 142.3 MB / 1.205 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7082/0.9663, allocations: 148.6 MB / 1.35 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002346/0.9665, allocations: 72.2 kB / 1.35 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.003075/0.9696, allocations: 0.739 MB / 1.351 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.004e-06/0.9697, allocations: 1.125 kB / 1.351 GB, free: 15.95 MB / 0.8073 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.0003007/0.97, allocations: 339.6 kB / 1.351 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.97, allocations: 12.03 kB / 1.351 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.718e-05/0.9701, allocations: 9.156 kB / 1.351 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.372e-05/0.9702, allocations: 161.3 kB / 1.352 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.9702, allocations: 8.359 kB / 1.352 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.9702, allocations: 1.344 kB / 1.352 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.647e-05/0.9703, allocations: 10.19 kB / 1.352 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.195e-05/0.9704, allocations: 36.3 kB / 1.352 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.9704, allocations: 0 / 1.352 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.9704, allocations: 3.906 kB / 1.352 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.9704, allocations: 5.281 kB / 1.352 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003522/0.9708, allocations: 245.4 kB / 1.352 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.597e-05/0.9708, allocations: 27.8 kB / 1.352 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.419e-05/0.9709, allocations: 8.391 kB / 1.352 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001694/0.971, allocations: 89.72 kB / 1.352 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.9711, allocations: 35.69 kB / 1.352 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.9711, allocations: 0 / 1.352 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001725/0.9712, allocations: 43.05 kB / 1.352 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.865e-05/0.9713, allocations: 51.41 kB / 1.352 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.705e-05/0.9713, allocations: 95.28 kB / 1.352 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.802e-06/0.9713, allocations: 25.7 kB / 1.352 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.329e-05/0.9714, allocations: 86.53 kB / 1.352 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.703e-05/0.9714, allocations: 9.062 kB / 1.352 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-06/0.9714, allocations: 0 / 1.352 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.692e-05/0.9714, allocations: 314.3 kB / 1.353 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.392e-05/0.9715, allocations: 5.781 kB / 1.353 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.159e-05/0.9715, allocations: 4 kB / 1.353 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.94e-05/0.9715, allocations: 11.2 kB / 1.353 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.9715, allocations: 0 / 1.353 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.427e-05/0.9716, allocations: 44.64 kB / 1.353 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.9716, allocations: 5.312 kB / 1.353 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.9716, allocations: 0 / 1.353 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.9717, allocations: 1.062 kB / 1.353 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.64e-05/0.9718, allocations: 16.44 kB / 1.353 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.9718, allocations: 5.375 kB / 1.353 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.402e-05/0.9718, allocations: 8.781 kB / 1.353 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.9718, allocations: 1.281 kB / 1.353 GB, free: 14.28 MB / 0.8073 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.996e-05/0.9719, allocations: 108.1 kB / 1.353 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.721e-05/0.9719, allocations: 6.719 kB / 1.353 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001068/0.9721, allocations: 43.86 kB / 1.353 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.9721, allocations: 5.625 kB / 1.353 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.9721, allocations: 1.094 kB / 1.353 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.9721, allocations: 0 / 1.353 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001019/0.9722, allocations: 142 kB / 1.353 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.9722, allocations: 1.25 kB / 1.353 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.725e-05/0.9723, allocations: 11.69 kB / 1.353 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.9723, allocations: 0.6875 kB / 1.353 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.73e-06/0.9723, allocations: 0 / 1.353 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.9723, allocations: 7.062 kB / 1.353 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.9723, allocations: 0 / 1.353 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000105/0.9724, allocations: 148.8 kB / 1.353 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.751e-05/0.9724, allocations: 77.11 kB / 1.353 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.9725, allocations: 2.781 kB / 1.353 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.596e-05/0.9725, allocations: 12.5 kB / 1.353 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-05/0.9726, allocations: 2.875 kB / 1.353 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.9726, allocations: 0 / 1.353 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.205e-05/0.9726, allocations: 91 kB / 1.353 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002479/0.9729, allocations: 16.27 kB / 1.353 GB, free: 13.64 MB / 0.8073 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.0002154/0.9731, allocations: 123.3 kB / 1.354 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.063e-05/0.9732, allocations: 15.56 kB / 1.354 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.9732, allocations: 0 / 1.354 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.99e-05/0.9732, allocations: 8.625 kB / 1.354 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001654/0.9734, allocations: 3.828 kB / 1.354 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001952/0.9736, allocations: 58.36 kB / 1.354 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.9737, allocations: 0.6892 MB / 1.354 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of SimCode: time 2.31e-07/0.9737, allocations: 0 / 1.354 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of Templates: time 0.002583/0.9763, allocations: 0.6159 MB / 1.355 GB, free: 12.7 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","../files/Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches