Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.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.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1.y",fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.01/2.01, allocations: 390.4 MB / 397.7 MB, free: 11.18 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.001044/0.001045, allocations: 177.3 kB / 490.8 MB, free: 1.895 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.436/1.436, allocations: 221.4 MB / 0.7863 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008859/0.0008862, allocations: 93.48 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.717e-06/8.736e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2728, allocations: 143 MB / 1.212 GB, free: 40.1 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6609/0.9338, allocations: 149.4 MB / 1.357 GB, free: 17.25 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002158/0.9341, allocations: 69.27 kB / 1.358 GB, free: 17.25 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.003086/0.9372, allocations: 0.7481 MB / 1.358 GB, free: 17.2 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.383e-06/0.9372, allocations: 0.9062 kB / 1.358 GB, free: 17.2 MB / 0.823 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.0003985/0.9376, allocations: 346.5 kB / 1.359 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.9377, allocations: 9.078 kB / 1.359 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.046e-05/0.9377, allocations: 5.188 kB / 1.359 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.239e-05/0.9378, allocations: 162.2 kB / 1.359 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.9378, allocations: 0.9062 kB / 1.359 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.9378, allocations: 1.219 kB / 1.359 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.121e-05/0.9379, allocations: 10.34 kB / 1.359 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.354e-05/0.938, allocations: 43.27 kB / 1.359 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.938, allocations: 1.156 kB / 1.359 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.938, allocations: 0 / 1.359 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.938, allocations: 4.656 kB / 1.359 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003413/0.9384, allocations: 247 kB / 1.359 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.271e-05/0.9384, allocations: 22.86 kB / 1.359 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.389e-05/0.9384, allocations: 13.64 kB / 1.359 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001587/0.9386, allocations: 84.98 kB / 1.359 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.9386, allocations: 31.94 kB / 1.359 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.9386, allocations: 7.938 kB / 1.359 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001556/0.9388, allocations: 43.58 kB / 1.359 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.535e-05/0.9388, allocations: 55.86 kB / 1.359 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.198e-05/0.9389, allocations: 94.27 kB / 1.359 GB, free: 32 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.913e-06/0.9389, allocations: 26.73 kB / 1.359 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.106e-05/0.939, allocations: 82.09 kB / 1.36 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.26e-05/0.939, allocations: 8.359 kB / 1.36 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-06/0.939, allocations: 1 kB / 1.36 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.924e-05/0.9391, allocations: 321.4 kB / 1.36 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.362e-05/0.9391, allocations: 2.375 kB / 1.36 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.291e-05/0.9391, allocations: 6 kB / 1.36 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.93e-05/0.9392, allocations: 3.891 kB / 1.36 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.9392, allocations: 0 / 1.36 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.65e-05/0.9393, allocations: 48.34 kB / 1.36 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/0.9393, allocations: 5.859 kB / 1.36 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.9393, allocations: 0 / 1.36 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.9393, allocations: 1.031 kB / 1.36 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.058e-05/0.9394, allocations: 16.58 kB / 1.36 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.9394, allocations: 3.938 kB / 1.36 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.429e-05/0.9395, allocations: 11.8 kB / 1.36 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.9395, allocations: 0.7969 kB / 1.36 GB, free: 31.52 MB / 0.8386 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.954e-05/0.9395, allocations: 106.4 kB / 1.36 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.877e-05/0.9396, allocations: 5.891 kB / 1.36 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.9e-05/0.9397, allocations: 48.41 kB / 1.36 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.9397, allocations: 0.875 kB / 1.36 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.9397, allocations: 1.797 kB / 1.36 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.9397, allocations: 0 / 1.36 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.823e-05/0.9398, allocations: 138.6 kB / 1.36 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.9398, allocations: 0.9688 kB / 1.36 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.861e-05/0.9399, allocations: 19.95 kB / 1.36 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.9399, allocations: 0 / 1.36 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.9399, allocations: 1.766 kB / 1.36 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.9399, allocations: 0 / 1.36 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.9399, allocations: 1.219 kB / 1.36 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001148/0.94, allocations: 141.4 kB / 1.36 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.726e-05/0.9401, allocations: 83.12 kB / 1.36 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.9401, allocations: 4.703 kB / 1.36 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.846e-05/0.9402, allocations: 8.609 kB / 1.36 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.719e-05/0.9402, allocations: 2.703 kB / 1.36 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-06/0.9402, allocations: 1.094 kB / 1.36 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.13e-05/0.9403, allocations: 79.42 kB / 1.361 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002652/0.9405, allocations: 15.42 kB / 1.361 GB, free: 30.89 MB / 0.8386 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.0001961/0.9407, allocations: 131 kB / 1.361 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.645e-05/0.9408, allocations: 15.78 kB / 1.361 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.9408, allocations: 4.969 kB / 1.361 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.845e-05/0.9408, allocations: 12.38 kB / 1.361 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001544/0.941, allocations: 3.078 kB / 1.361 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001706/0.9412, allocations: 55.16 kB / 1.361 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002367/0.9414, allocations: 0.6875 MB / 1.361 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of SimCode: time 2.11e-07/0.9414, allocations: 5.156 kB / 1.361 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of Templates: time 0.002379/0.9438, allocations: 0.6308 MB / 1.362 GB, free: 29.94 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","../files/Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches