Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009726/0.0009726, allocations: 83.59 kB / 20.45 MB, free: 4.117 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 169 kB / 23.82 MB, free: 0.7461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9216/0.9216, allocations: 177.1 MB / 204.2 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.843/1.843, allocations: 377.9 MB / 0.6236 GB, free: 8.566 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|E1",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|E1",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.185e-06/2.185e-06, allocations: 0 / 0.8116 GB, free: 1.699 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.999e-05/3.217e-05, allocations: 5.672 kB / 0.8116 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.00188/0.001912, allocations: 0.6062 MB / 0.8122 GB, free: 1.109 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0003534/0.002266, allocations: 80.69 kB / 0.8123 GB, free: 1.031 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.407e-05/0.00228, allocations: 0 / 0.8123 GB, free: 1.031 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.017e-05/0.0023, allocations: 0 / 0.8123 GB, free: 1.031 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.943e-06/0.002307, allocations: 5.656 kB / 0.8123 GB, free: 1.027 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005599/0.002867, allocations: 43.77 kB / 0.8123 GB, free: 0.9844 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 4.279e-05/0.00291, allocations: 0 / 0.8123 GB, free: 0.9844 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.796e-05/0.002948, allocations: 0 / 0.8123 GB, free: 0.9844 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 2.769e-05/0.002975, allocations: 5.531 kB / 0.8123 GB, free: 0.9805 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 1.607e-05/0.002991, allocations: 3.984 kB / 0.8123 GB, free: 0.9766 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.072e-05/0.003002, allocations: 0 / 0.8123 GB, free: 0.9766 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.003131, allocations: 35.89 kB / 0.8124 GB, free: 0.9414 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 8.065e-06/0.003139, allocations: 0.6875 kB / 0.8124 GB, free: 0.9414 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.441e-05/0.003153, allocations: 4 kB / 0.8124 GB, free: 0.9375 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.729e-05/0.00325, allocations: 28.55 kB / 0.8124 GB, free: 0.9102 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.003253, allocations: 4 kB / 0.8124 GB, free: 0.9062 MB / 0.7605 GB Notification: Performance of FrontEnd: time 7.81e-07/0.003254, allocations: 1.375 kB / 0.8124 GB, free: 0.9062 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.003258, allocations: 0 / 0.8124 GB, free: 0.9062 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002966/0.003554, allocations: 344.2 kB / 0.8127 GB, free: 0.5312 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.003588, allocations: 9.781 kB / 0.8127 GB, free: 0.5234 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.477e-05/0.003652, allocations: 4.938 kB / 0.8127 GB, free: 0.5195 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.33e-05/0.003706, allocations: 112.6 kB / 0.8129 GB, free: 392 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.003715, allocations: 384 / 0.8129 GB, free: 392 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.783e-06/0.003722, allocations: 384 / 0.8129 GB, free: 392 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.944e-05/0.003791, allocations: 35.39 kB / 0.8129 GB, free: 352 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-06/0.003798, allocations: 192 / 0.8129 GB, free: 352 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.003805, allocations: 384 / 0.8129 GB, free: 352 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.003812, allocations: 0.9375 kB / 0.8129 GB, free: 352 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.218e-05/0.003824, allocations: 4.5 kB / 0.8129 GB, free: 348 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.807e-05/0.003912, allocations: 112.6 kB / 0.813 GB, free: 200 kB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 3.551e-05/0.003948, allocations: 24.19 kB / 0.813 GB, free: 164 kB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.595e-05/0.003964, allocations: 19.77 kB / 0.813 GB, free: 140 kB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001351/0.004099, allocations: 0.8125 kB / 0.813 GB, free: 140 kB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.004117, allocations: 41.33 kB / 0.8131 GB, free: 88 kB / 0.7605 GB Notification: Performance of pre-optimization done (n=1): time 6.71e-07/0.004118, allocations: 2.156 kB / 0.8131 GB, free: 88 kB / 0.7605 GB Notification: Performance of matching and sorting (n=1): time 0.0001126/0.00423, allocations: 33.69 kB / 0.8131 GB, free: 48 kB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.004268, allocations: 51.41 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.31e-05/0.004301, allocations: 142.2 kB / 0.8133 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.125e-06/0.004309, allocations: 25.7 kB / 0.8133 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.459e-05/0.004334, allocations: 135.4 kB / 0.8135 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.004356, allocations: 352 / 0.8135 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.063e-05/0.004377, allocations: 16.09 kB / 0.8135 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.431e-05/0.004471, allocations: 0.4883 MB / 0.8139 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.095e-06/0.004479, allocations: 0.5 kB / 0.814 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.839e-06/0.004484, allocations: 1.594 kB / 0.814 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.549e-05/0.00451, allocations: 19.61 kB / 0.814 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.004511, allocations: 0 / 0.814 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.576e-05/0.004557, allocations: 38.28 kB / 0.814 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.004569, allocations: 4.906 kB / 0.814 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.004573, allocations: 0 / 0.814 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.448e-06/0.004582, allocations: 4 kB / 0.814 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.378e-05/0.004616, allocations: 0.8125 kB / 0.814 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.908e-06/0.00462, allocations: 3.938 kB / 0.814 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.447e-06/0.00463, allocations: 4.875 kB / 0.814 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.309e-06/0.004634, allocations: 0 / 0.814 GB, free: 15.06 MB / 0.7761 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.127e-05/0.004685, allocations: 161.8 kB / 0.8142 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.917e-06/0.004694, allocations: 0 / 0.8142 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.247e-05/0.004747, allocations: 37.61 kB / 0.8142 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.004748, allocations: 0 / 0.8142 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.004751, allocations: 0 / 0.8142 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.004753, allocations: 2.312 kB / 0.8142 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001619/0.004915, allocations: 120.6 kB / 0.8143 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.004916, allocations: 0 / 0.8143 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.674e-06/0.004923, allocations: 4 kB / 0.8143 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.004925, allocations: 0 / 0.8143 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-06/0.004931, allocations: 4 kB / 0.8143 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.004931, allocations: 3.375 kB / 0.8143 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.004932, allocations: 0 / 0.8143 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.156e-05/0.004984, allocations: 76.31 kB / 0.8144 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.226e-06/0.004987, allocations: 3.984 kB / 0.8144 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.382e-06/0.004993, allocations: 0 / 0.8144 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.386e-06/0.004997, allocations: 0 / 0.8144 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.135e-05/0.005008, allocations: 0 / 0.8144 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.005011, allocations: 4 kB / 0.8144 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.472e-05/0.005035, allocations: 123.2 kB / 0.8145 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005035, allocations: 0.9688 kB / 0.8145 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001232/0.005159, allocations: 4 kB / 0.8145 GB, free: 14.46 MB / 0.7761 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001303/0.005289, allocations: 117.1 kB / 0.8147 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.062e-05/0.00535, allocations: 13.31 kB / 0.8147 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.005352, allocations: 0 / 0.8147 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.766e-06/0.00536, allocations: 15.62 kB / 0.8147 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.86e-05/0.005449, allocations: 0 / 0.8147 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001488/0.005598, allocations: 92.97 kB / 0.8148 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.475e-05/0.005622, allocations: 51.36 kB / 0.8148 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.047e-06/0.005632, allocations: 5.078 kB / 0.8148 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.153e-05/0.005643, allocations: 8.5 kB / 0.8148 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of SimCode: time 4.71e-07/0.005644, allocations: 3.938 kB / 0.8148 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of Templates: time 0.001881/0.007524, allocations: 457.7 kB / 0.8153 GB, free: 13.66 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.86728703789413]