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/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.0009837/0.0009837, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.0009964/0.0009964, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.008/1.008, allocations: 177.1 MB / 203.8 MB, free: 5.496 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.632/2.632, allocations: 438.8 MB / 0.6827 GB, free: 13.65 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|E1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|E1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.676e-05/2.898e-05, allocations: 12.86 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.003085/0.003114, allocations: 1.538 MB / 0.8401 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0004455/0.00356, allocations: 143.5 kB / 0.8403 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.985e-05/0.00359, allocations: 0 / 0.8403 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.023e-05/0.00362, allocations: 3.938 kB / 0.8403 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.731e-05/0.003667, allocations: 0 / 0.8403 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003432/0.00401, allocations: 47.77 kB / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.437e-05/0.004075, allocations: 19.92 kB / 0.8403 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 8.222e-05/0.004157, allocations: 11.98 kB / 0.8404 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 4.776e-05/0.004205, allocations: 11.98 kB / 0.8404 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.923e-05/0.004244, allocations: 7.984 kB / 0.8404 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.004259, allocations: 0 / 0.8404 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001429/0.004401, allocations: 43.89 kB / 0.8404 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.491e-05/0.004416, allocations: 7.938 kB / 0.8404 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.594e-05/0.004432, allocations: 4 kB / 0.8404 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.004561, allocations: 43.88 kB / 0.8405 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.004563, allocations: 4 kB / 0.8405 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.11e-07/0.004564, allocations: 0 / 0.8405 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.004568, allocations: 4 kB / 0.8405 GB, free: 12.3 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.0003759/0.004944, allocations: 236.9 kB / 0.8407 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.004981, allocations: 8.625 kB / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.42e-05/0.005046, allocations: 4.938 kB / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.004e-05/0.005136, allocations: 105.8 kB / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.005149, allocations: 8.375 kB / 0.8408 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.714e-06/0.005157, allocations: 8.25 kB / 0.8408 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.806e-05/0.005255, allocations: 50.95 kB / 0.8409 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.005261, allocations: 4.188 kB / 0.8409 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.563e-06/0.005268, allocations: 384 / 0.8409 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.005274, allocations: 4.359 kB / 0.8409 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.933e-05/0.005293, allocations: 7.938 kB / 0.8409 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001784/0.005472, allocations: 144.4 kB / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.279e-05/0.005505, allocations: 22.52 kB / 0.8411 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.252e-05/0.005517, allocations: 8.922 kB / 0.8411 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.898e-05/0.005596, allocations: 7.984 kB / 0.8411 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.005616, allocations: 30.56 kB / 0.8411 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 7.42e-07/0.005616, allocations: 0 / 0.8411 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001088/0.005725, allocations: 45.69 kB / 0.8411 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/0.005751, allocations: 55.34 kB / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.8e-05/0.005799, allocations: 110.6 kB / 0.8413 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.354e-06/0.005806, allocations: 25.7 kB / 0.8413 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.452e-05/0.005831, allocations: 84.14 kB / 0.8414 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.005847, allocations: 7.891 kB / 0.8414 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.202e-05/0.005869, allocations: 17.7 kB / 0.8414 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.653e-05/0.005936, allocations: 314.8 kB / 0.8417 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.813e-06/0.005942, allocations: 0 / 0.8417 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.346e-05/0.005956, allocations: 4.125 kB / 0.8417 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.967e-05/0.005975, allocations: 12.92 kB / 0.8417 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.005977, allocations: 0 / 0.8417 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.483e-05/0.006032, allocations: 41.69 kB / 0.8418 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.006044, allocations: 4 kB / 0.8418 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.006047, allocations: 3.938 kB / 0.8418 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.006059, allocations: 0 / 0.8418 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.147e-05/0.00611, allocations: 11.94 kB / 0.8418 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.006115, allocations: 3.984 kB / 0.8418 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.516e-05/0.00613, allocations: 3.984 kB / 0.8418 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.359e-06/0.006134, allocations: 8.031 kB / 0.8418 GB, free: 10.77 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.448e-05/0.006179, allocations: 105.8 kB / 0.8419 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.122e-05/0.0062, allocations: 0 / 0.8419 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.858e-05/0.006258, allocations: 45 kB / 0.842 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.006259, allocations: 0 / 0.842 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.006262, allocations: 7.875 kB / 0.842 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.006264, allocations: 0 / 0.842 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.537e-05/0.00634, allocations: 69.88 kB / 0.842 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.00634, allocations: 0 / 0.842 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.922e-05/0.006359, allocations: 8 kB / 0.842 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.006361, allocations: 7.969 kB / 0.8421 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-06/0.006366, allocations: 4 kB / 0.8421 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.006366, allocations: 0 / 0.8421 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.006367, allocations: 0 / 0.8421 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.706e-05/0.006434, allocations: 131.5 kB / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.921e-06/0.00644, allocations: 7.953 kB / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.704e-06/0.006448, allocations: 3.984 kB / 0.8422 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.923e-05/0.006477, allocations: 0 / 0.8422 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.305e-05/0.0065, allocations: 4 kB / 0.8422 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-06/0.006501, allocations: 0 / 0.8422 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.265e-05/0.006514, allocations: 24.81 kB / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006514, allocations: 0 / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001266/0.006641, allocations: 8 kB / 0.8422 GB, free: 10.29 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 () * Number of clocked 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 (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.0001179/0.006759, allocations: 84.36 kB / 0.8423 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.943e-05/0.006808, allocations: 16.78 kB / 0.8423 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.006812, allocations: 4 kB / 0.8423 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.123e-05/0.006823, allocations: 8.922 kB / 0.8423 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001195/0.006942, allocations: 4 kB / 0.8423 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001895/0.007132, allocations: 104.8 kB / 0.8424 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.803e-05/0.00716, allocations: 51.36 kB / 0.8425 GB, free: 9.965 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.588e-05/0.007176, allocations: 7.984 kB / 0.8425 GB, free: 9.957 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.431e-05/0.00721, allocations: 47.38 kB / 0.8425 GB, free: 9.91 MB / 0.8073 GB Notification: Performance of SimCode: time 5.81e-07/0.007211, allocations: 0 / 0.8425 GB, free: 9.91 MB / 0.8073 GB Notification: Performance of Templates: time 0.002098/0.009308, allocations: 0.694 MB / 0.8432 GB, free: 9.227 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.makefile [Timeout 300] (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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_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.453768152743578]