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.0009859/0.0009859, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.001123/0.001123, allocations: 169 kB / 24.28 MB, free: 276 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.9754/0.9754, allocations: 177.1 MB / 204.6 MB, free: 5.605 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.775/1.775, allocations: 359 MB / 0.6055 GB, free: 10.96 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 2.325e-06/2.325e-06, allocations: 0 / 0.7872 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.337e-05/3.57e-05, allocations: 8.641 kB / 0.7872 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001908/0.001944, allocations: 0.5978 MB / 0.7877 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003622/0.002306, allocations: 92.55 kB / 0.7878 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.477e-05/0.002331, allocations: 2.031 kB / 0.7878 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.887e-05/0.00235, allocations: 0 / 0.7878 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.185e-06/0.002358, allocations: 0 / 0.7878 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000472/0.00283, allocations: 39.83 kB / 0.7879 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.355e-05/0.002883, allocations: 0 / 0.7879 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 5.116e-05/0.002934, allocations: 0 / 0.7879 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.146e-05/0.002966, allocations: 0.5625 kB / 0.7879 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 1.838e-05/0.002984, allocations: 4.938 kB / 0.7879 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.003, allocations: 0 / 0.7879 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001827/0.003182, allocations: 43.88 kB / 0.7879 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.241e-05/0.003195, allocations: 5.031 kB / 0.7879 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.022e-05/0.003215, allocations: 0 / 0.7879 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.003358, allocations: 31.89 kB / 0.788 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.00336, allocations: 1.062 kB / 0.788 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.252e-06/0.003362, allocations: 0 / 0.788 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.003367, allocations: 4 kB / 0.788 GB, free: 11.91 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.0003262/0.003693, allocations: 349.9 kB / 0.7883 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.003739, allocations: 8.031 kB / 0.7883 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.953e-05/0.003838, allocations: 0.9375 kB / 0.7883 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.672e-05/0.003925, allocations: 112.6 kB / 0.7884 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.003939, allocations: 2.25 kB / 0.7884 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.00395, allocations: 384 / 0.7884 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.004055, allocations: 30.27 kB / 0.7884 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.004063, allocations: 192 / 0.7884 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.004073, allocations: 384 / 0.7884 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.004083, allocations: 2.75 kB / 0.7884 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.465e-05/0.004108, allocations: 7.922 kB / 0.7885 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001322/0.00424, allocations: 112.6 kB / 0.7886 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.061e-05/0.004291, allocations: 27 kB / 0.7886 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.886e-05/0.00431, allocations: 7.688 kB / 0.7886 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001977/0.004507, allocations: 8.703 kB / 0.7886 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.004541, allocations: 41.39 kB / 0.7886 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.282e-06/0.004542, allocations: 1.656 kB / 0.7886 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001766/0.004719, allocations: 29.7 kB / 0.7887 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.004762, allocations: 55.34 kB / 0.7887 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.268e-05/0.004814, allocations: 142.2 kB / 0.7889 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.004826, allocations: 26.45 kB / 0.7889 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.886e-05/0.004865, allocations: 126.9 kB / 0.789 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.203e-05/0.004897, allocations: 8.719 kB / 0.789 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.145e-05/0.004928, allocations: 19.36 kB / 0.789 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.005095, allocations: 0.4898 MB / 0.7895 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.373e-05/0.005109, allocations: 4 kB / 0.7895 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.552e-06/0.005115, allocations: 0 / 0.7895 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.227e-05/0.005158, allocations: 9.969 kB / 0.7895 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.005162, allocations: 4 kB / 0.7895 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.873e-05/0.005251, allocations: 30.05 kB / 0.7896 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.005269, allocations: 5.562 kB / 0.7896 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.005275, allocations: 3.938 kB / 0.7896 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.005293, allocations: 4.703 kB / 0.7896 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.272e-05/0.005346, allocations: 4 kB / 0.7896 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.005352, allocations: 0.5312 kB / 0.7896 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.419e-05/0.005366, allocations: 9.547 kB / 0.7896 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.005371, allocations: 0 / 0.7896 GB, free: 10.06 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 9.468e-05/0.005466, allocations: 160.6 kB / 0.7897 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.252e-05/0.005488, allocations: 0 / 0.7897 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.838e-05/0.005587, allocations: 41.27 kB / 0.7898 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.00559, allocations: 1.312 kB / 0.7898 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.005594, allocations: 0 / 0.7898 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.005599, allocations: 0 / 0.7898 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.786e-05/0.005687, allocations: 112.6 kB / 0.7899 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.005688, allocations: 1.156 kB / 0.7899 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.459e-05/0.005703, allocations: 0 / 0.7899 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.005705, allocations: 0 / 0.7899 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.005714, allocations: 1.375 kB / 0.7899 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/0.00572, allocations: 7.938 kB / 0.7899 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.005721, allocations: 4 kB / 0.7899 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.894e-05/0.00582, allocations: 74.12 kB / 0.79 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.582e-06/0.005827, allocations: 4 kB / 0.79 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.139e-05/0.005838, allocations: 0 / 0.79 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.032e-06/0.005844, allocations: 0 / 0.79 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.761e-05/0.005862, allocations: 0 / 0.79 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-06/0.005864, allocations: 0.9062 kB / 0.79 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.377e-05/0.005918, allocations: 119.8 kB / 0.7901 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.005918, allocations: 0.8438 kB / 0.7901 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002361/0.006154, allocations: 15.92 kB / 0.7901 GB, free: 9.457 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.0002172/0.006371, allocations: 113.1 kB / 0.7902 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.164e-05/0.006463, allocations: 24.45 kB / 0.7902 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.006465, allocations: 0 / 0.7902 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.227e-05/0.006477, allocations: 13.28 kB / 0.7902 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001443/0.006622, allocations: 0 / 0.7902 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002348/0.006856, allocations: 83.95 kB / 0.7903 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.248e-05/0.006899, allocations: 52.33 kB / 0.7904 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.433e-05/0.006913, allocations: 3.984 kB / 0.7904 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.648e-05/0.00693, allocations: 8.5 kB / 0.7904 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of SimCode: time 7.51e-07/0.00693, allocations: 3.375 kB / 0.7904 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of Templates: time 0.002947/0.009877, allocations: 412.4 kB / 0.7908 GB, free: 8.715 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.976773970993236]