Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001037/0.001037, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.00123/0.00123, allocations: 181 kB / 24.09 MB, free: 416 kB / 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.9406/0.9406, allocations: 177.1 MB / 204.5 MB, free: 5.527 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.729/1.729, allocations: 359 MB / 0.6055 GB, free: 10.9 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 0.7876 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.404e-05/1.583e-05, allocations: 3.344 kB / 0.7876 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.0009723/0.0009882, allocations: 0.6002 MB / 0.7882 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002673/0.001255, allocations: 94.06 kB / 0.7883 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.516e-05/0.001271, allocations: 0 / 0.7883 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.443e-05/0.001285, allocations: 0 / 0.7883 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.17e-06/0.00129, allocations: 0 / 0.7883 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003145/0.001605, allocations: 35.8 kB / 0.7883 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 3.216e-05/0.001637, allocations: 0 / 0.7883 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.387e-05/0.001671, allocations: 7.984 kB / 0.7883 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.677e-05/0.001698, allocations: 5.797 kB / 0.7883 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 1.364e-05/0.001711, allocations: 0 / 0.7883 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 9.858e-06/0.001721, allocations: 0 / 0.7883 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.001839, allocations: 35.91 kB / 0.7884 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.107e-06/0.001849, allocations: 0 / 0.7884 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.718e-06/0.001858, allocations: 0.5938 kB / 0.7884 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.291e-05/0.001951, allocations: 37.34 kB / 0.7884 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.332e-06/0.001953, allocations: 0 / 0.7884 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.81e-07/0.001953, allocations: 0 / 0.7884 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.916e-06/0.001956, allocations: 0 / 0.7884 GB, free: 11.36 MB / 0.7448 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.000207/0.002163, allocations: 346 kB / 0.7887 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.002195, allocations: 12.03 kB / 0.7887 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.184e-05/0.002247, allocations: 8.906 kB / 0.7888 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.129e-05/0.002299, allocations: 108.6 kB / 0.7889 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-06/0.002308, allocations: 384 / 0.7889 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.835e-06/0.002315, allocations: 9.5 kB / 0.7889 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.367e-05/0.002369, allocations: 26.27 kB / 0.7889 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.681e-06/0.002375, allocations: 192 / 0.7889 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.638e-06/0.002379, allocations: 1.188 kB / 0.7889 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.002384, allocations: 384 / 0.7889 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.066e-05/0.002395, allocations: 8.844 kB / 0.7889 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.501e-05/0.00247, allocations: 89.27 kB / 0.789 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.052e-05/0.0025, allocations: 33.67 kB / 0.789 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.14e-05/0.002512, allocations: 15.67 kB / 0.789 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001161/0.002628, allocations: 11.94 kB / 0.789 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/0.002646, allocations: 33.39 kB / 0.7891 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 7.51e-07/0.002646, allocations: 0 / 0.7891 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001002/0.002747, allocations: 33.69 kB / 0.7891 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.144e-05/0.002768, allocations: 55.91 kB / 0.7892 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.525e-05/0.002803, allocations: 143 kB / 0.7893 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.002817, allocations: 29.64 kB / 0.7893 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.094e-05/0.002848, allocations: 127.4 kB / 0.7895 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.211e-05/0.00287, allocations: 1.656 kB / 0.7895 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.766e-05/0.002888, allocations: 15.38 kB / 0.7895 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.002999, allocations: 0.4883 MB / 0.7899 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.861e-06/0.003005, allocations: 0 / 0.7899 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.13e-06/0.00301, allocations: 0.5 kB / 0.7899 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.488e-05/0.003035, allocations: 20.23 kB / 0.79 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.003036, allocations: 0.8125 kB / 0.79 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.881e-05/0.003075, allocations: 30.05 kB / 0.79 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.317e-06/0.003084, allocations: 5.156 kB / 0.79 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.003088, allocations: 8 kB / 0.79 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.003098, allocations: 0 / 0.79 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.591e-05/0.003124, allocations: 5.312 kB / 0.79 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.004e-06/0.003126, allocations: 3.938 kB / 0.79 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.033e-06/0.003133, allocations: 3.953 kB / 0.79 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-06/0.003137, allocations: 4 kB / 0.79 GB, free: 9.52 MB / 0.7448 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 6.611e-05/0.003203, allocations: 161.3 kB / 0.7902 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.626e-06/0.003212, allocations: 0.8438 kB / 0.7902 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.023e-05/0.003262, allocations: 32.7 kB / 0.7902 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.81e-07/0.003263, allocations: 1.281 kB / 0.7902 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.003264, allocations: 0 / 0.7902 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.003268, allocations: 4 kB / 0.7902 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.58e-05/0.003313, allocations: 97.2 kB / 0.7903 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.003315, allocations: 4.828 kB / 0.7903 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.358e-06/0.00332, allocations: 0 / 0.7903 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.71e-07/0.00332, allocations: 1.219 kB / 0.7903 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.306e-06/0.003323, allocations: 4 kB / 0.7903 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.003326, allocations: 3.984 kB / 0.7903 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.003328, allocations: 5.25 kB / 0.7903 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.046e-05/0.003378, allocations: 68.39 kB / 0.7904 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.25e-06/0.003383, allocations: 7.969 kB / 0.7904 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.972e-06/0.003389, allocations: 1.562 kB / 0.7904 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.386e-06/0.003393, allocations: 0 / 0.7904 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.368e-06/0.003402, allocations: 0 / 0.7904 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.32e-07/0.003403, allocations: 0 / 0.7904 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.667e-05/0.00343, allocations: 126.6 kB / 0.7905 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.00343, allocations: 0 / 0.7905 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001216/0.003551, allocations: 4 kB / 0.7905 GB, free: 8.949 MB / 0.7448 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.0001169/0.003668, allocations: 111.2 kB / 0.7906 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.029e-05/0.003718, allocations: 20.66 kB / 0.7906 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.00372, allocations: 0 / 0.7906 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.101e-06/0.003726, allocations: 13.62 kB / 0.7907 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.06e-05/0.003806, allocations: 5.484 kB / 0.7907 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001168/0.003923, allocations: 87.94 kB / 0.7907 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.208e-05/0.003945, allocations: 51.36 kB / 0.7908 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.512e-06/0.003952, allocations: 1.094 kB / 0.7908 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.415e-05/0.003976, allocations: 66.2 kB / 0.7909 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of SimCode: time 4.81e-07/0.003976, allocations: 3.938 kB / 0.7909 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of Templates: time 0.001674/0.00565, allocations: 492 kB / 0.7913 GB, free: 8.07 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.712581682018936]