Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009994/0.0009994, allocations: 85.27 kB / 19.87 MB, free: 4.617 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.0009944/0.0009944, allocations: 165 kB / 23.27 MB, free: 1.219 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.9918/0.9918, allocations: 177.1 MB / 203.7 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.325/2.325, allocations: 438.1 MB / 0.682 GB, free: 14.18 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.8898 GB, free: 9.715 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.584e-05/2.752e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.711 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001651/0.001679, allocations: 0.61 MB / 0.8904 GB, free: 9.105 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.003387/0.005066, allocations: 83.73 kB / 0.8905 GB, free: 9.023 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.714e-05/0.005083, allocations: 0 / 0.8905 GB, free: 9.023 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.622e-05/0.005099, allocations: 0 / 0.8905 GB, free: 9.023 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.903e-06/0.005106, allocations: 0 / 0.8905 GB, free: 9.023 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003606/0.005467, allocations: 27.86 kB / 0.8905 GB, free: 8.996 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 3.256e-05/0.005499, allocations: 0 / 0.8905 GB, free: 8.996 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.538e-05/0.005535, allocations: 4 kB / 0.8905 GB, free: 8.992 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.008e-05/0.005565, allocations: 11.92 kB / 0.8905 GB, free: 8.98 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 1.426e-05/0.005579, allocations: 0 / 0.8905 GB, free: 8.98 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.00559, allocations: 0 / 0.8905 GB, free: 8.98 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.005718, allocations: 35.89 kB / 0.8905 GB, free: 8.945 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 8.496e-06/0.005727, allocations: 0 / 0.8905 GB, free: 8.945 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 8.967e-06/0.005735, allocations: 4 kB / 0.8906 GB, free: 8.941 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001119/0.005847, allocations: 31.89 kB / 0.8906 GB, free: 8.91 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.005849, allocations: 0 / 0.8906 GB, free: 8.91 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.433e-06/0.005851, allocations: 4 kB / 0.8906 GB, free: 8.906 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.216e-06/0.005854, allocations: 0 / 0.8906 GB, free: 8.906 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002383/0.006092, allocations: 344.4 kB / 0.8909 GB, free: 8.531 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.006131, allocations: 12.62 kB / 0.8909 GB, free: 8.52 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.76e-05/0.006188, allocations: 5.281 kB / 0.8909 GB, free: 8.516 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.192e-05/0.00625, allocations: 108.6 kB / 0.891 GB, free: 8.383 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.006262, allocations: 4.375 kB / 0.891 GB, free: 8.379 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.681e-06/0.006267, allocations: 384 / 0.891 GB, free: 8.379 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.317e-05/0.006331, allocations: 38.19 kB / 0.8911 GB, free: 8.336 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.006337, allocations: 192 / 0.8911 GB, free: 8.336 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.45e-06/0.006343, allocations: 384 / 0.8911 GB, free: 8.336 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.006348, allocations: 384 / 0.8911 GB, free: 8.336 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.699e-06/0.006358, allocations: 3.938 kB / 0.8911 GB, free: 8.332 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.057e-05/0.006449, allocations: 105.2 kB / 0.8912 GB, free: 8.203 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 2.884e-05/0.006478, allocations: 27 kB / 0.8912 GB, free: 8.164 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.307e-05/0.006491, allocations: 7.688 kB / 0.8912 GB, free: 8.152 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001381/0.006629, allocations: 12.02 kB / 0.8912 GB, free: 8.141 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.006654, allocations: 37.39 kB / 0.8913 GB, free: 8.094 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.006655, allocations: 0 / 0.8913 GB, free: 8.094 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0001357/0.006791, allocations: 37.69 kB / 0.8913 GB, free: 8.051 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.006819, allocations: 51.41 kB / 0.8913 GB, free: 7.988 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.525e-05/0.006865, allocations: 142.2 kB / 0.8915 GB, free: 7.836 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.006876, allocations: 25.83 kB / 0.8915 GB, free: 7.805 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.243e-05/0.006908, allocations: 130.9 kB / 0.8916 GB, free: 7.672 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.758e-05/0.006936, allocations: 7.984 kB / 0.8916 GB, free: 7.664 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.024e-05/0.006966, allocations: 15.38 kB / 0.8917 GB, free: 7.641 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.007097, allocations: 496.1 kB / 0.8921 GB, free: 7.145 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.003e-05/0.007107, allocations: 4 kB / 0.8921 GB, free: 7.141 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.436e-06/0.007116, allocations: 3.938 kB / 0.8921 GB, free: 7.137 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.869e-05/0.007145, allocations: 11.67 kB / 0.8921 GB, free: 7.121 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.007149, allocations: 4 kB / 0.8921 GB, free: 7.117 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.715e-05/0.007226, allocations: 29.7 kB / 0.8922 GB, free: 7.082 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.007238, allocations: 12.08 kB / 0.8922 GB, free: 7.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.007243, allocations: 0 / 0.8922 GB, free: 7.07 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.007256, allocations: 0 / 0.8922 GB, free: 7.07 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.444e-05/0.00729, allocations: 4 kB / 0.8922 GB, free: 7.066 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.404e-06/0.007292, allocations: 0 / 0.8922 GB, free: 7.066 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.022e-05/0.007303, allocations: 0 / 0.8922 GB, free: 7.066 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.057e-06/0.007307, allocations: 0 / 0.8922 GB, free: 7.066 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 () * 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 7.103e-05/0.007378, allocations: 168.5 kB / 0.8924 GB, free: 6.891 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.104e-05/0.007399, allocations: 0 / 0.8924 GB, free: 6.891 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.816e-05/0.007467, allocations: 36.69 kB / 0.8924 GB, free: 6.848 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.007469, allocations: 4.031 kB / 0.8924 GB, free: 6.844 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.007471, allocations: 0 / 0.8924 GB, free: 6.844 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.007474, allocations: 0 / 0.8924 GB, free: 6.844 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.531e-05/0.007539, allocations: 93.2 kB / 0.8925 GB, free: 6.727 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.007541, allocations: 4 kB / 0.8925 GB, free: 6.723 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.172e-05/0.007552, allocations: 0 / 0.8925 GB, free: 6.723 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.007554, allocations: 0 / 0.8925 GB, free: 6.723 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.966e-06/0.007557, allocations: 0 / 0.8925 GB, free: 6.723 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.007561, allocations: 3.938 kB / 0.8925 GB, free: 6.719 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.007563, allocations: 0 / 0.8925 GB, free: 6.719 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001012/0.007664, allocations: 84.31 kB / 0.8926 GB, free: 6.613 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.682e-06/0.007671, allocations: 3.953 kB / 0.8926 GB, free: 6.609 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.197e-06/0.00768, allocations: 8 kB / 0.8926 GB, free: 6.602 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.011e-06/0.007686, allocations: 0 / 0.8926 GB, free: 6.602 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.097e-05/0.007697, allocations: 0 / 0.8926 GB, free: 6.602 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.0077, allocations: 0 / 0.8926 GB, free: 6.602 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.274e-05/0.007733, allocations: 119.2 kB / 0.8927 GB, free: 6.484 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007733, allocations: 0 / 0.8927 GB, free: 6.484 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002026/0.007936, allocations: 11.98 kB / 0.8927 GB, free: 6.473 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 () * 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.0001765/0.008112, allocations: 107.2 kB / 0.8928 GB, free: 6.355 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 6.113e-05/0.008173, allocations: 11.69 kB / 0.8928 GB, free: 6.34 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.008175, allocations: 0 / 0.8928 GB, free: 6.34 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.247e-06/0.008184, allocations: 15.61 kB / 0.8928 GB, free: 6.32 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001244/0.008309, allocations: 7.938 kB / 0.8928 GB, free: 6.312 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001527/0.008462, allocations: 80 kB / 0.8929 GB, free: 6.203 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.634e-05/0.008498, allocations: 55.36 kB / 0.893 GB, free: 6.129 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.045e-05/0.008508, allocations: 4.125 kB / 0.893 GB, free: 6.125 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.249e-05/0.008541, allocations: 66.2 kB / 0.893 GB, free: 6.059 MB / 0.8542 GB Notification: Performance of SimCode: time 6.01e-07/0.008541, allocations: 0 / 0.893 GB, free: 6.059 MB / 0.8542 GB Notification: Performance of Templates: time 0.004852/0.01339, allocations: 456.4 kB / 0.8935 GB, free: 5.613 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 5.200198964215815]