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.001441/0.001441, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.00147/0.00147, allocations: 173 kB / 23.02 MB, free: 1.547 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.9106/0.9106, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.061/2.061, allocations: 429.5 MB / 0.6732 GB, free: 4.035 MB / 0.6355 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.513e-06/1.513e-06, allocations: 0 / 0.8782 GB, free: 6.254 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.393e-05/2.544e-05, allocations: 6.25 kB / 0.8782 GB, free: 6.246 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001141/0.001166, allocations: 0.6172 MB / 0.8788 GB, free: 5.648 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002645/0.00143, allocations: 77.75 kB / 0.8789 GB, free: 5.574 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.177e-05/0.001442, allocations: 0 / 0.8789 GB, free: 5.574 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.734e-05/0.00146, allocations: 0 / 0.8789 GB, free: 5.574 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.851e-06/0.001465, allocations: 1.969 kB / 0.8789 GB, free: 5.574 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003423/0.001808, allocations: 36.92 kB / 0.8789 GB, free: 5.539 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 3.99e-05/0.001848, allocations: 0 / 0.8789 GB, free: 5.539 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.304e-05/0.001881, allocations: 4.656 kB / 0.8789 GB, free: 5.535 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 1.99e-05/0.001901, allocations: 0 / 0.8789 GB, free: 5.535 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 1.241e-05/0.001913, allocations: 0.5625 kB / 0.8789 GB, free: 5.535 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.001925, allocations: 0.9062 kB / 0.8789 GB, free: 5.535 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.002032, allocations: 36.59 kB / 0.879 GB, free: 5.5 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.994e-06/0.002039, allocations: 1.094 kB / 0.879 GB, free: 5.5 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.403e-05/0.002053, allocations: 5.188 kB / 0.879 GB, free: 5.496 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 8.941e-05/0.002142, allocations: 31.84 kB / 0.879 GB, free: 5.465 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.002144, allocations: 0 / 0.879 GB, free: 5.465 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.41e-07/0.002145, allocations: 1.031 kB / 0.879 GB, free: 5.465 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.296e-06/0.002148, allocations: 224 / 0.879 GB, free: 5.465 MB / 0.8386 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.000222/0.00237, allocations: 348.3 kB / 0.8793 GB, free: 5.086 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.002403, allocations: 9.156 kB / 0.8794 GB, free: 5.078 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.446e-05/0.002468, allocations: 0.9375 kB / 0.8794 GB, free: 5.078 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.03e-05/0.002518, allocations: 108.6 kB / 0.8795 GB, free: 4.945 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.002527, allocations: 1.5 kB / 0.8795 GB, free: 4.945 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.983e-06/0.002534, allocations: 384 / 0.8795 GB, free: 4.945 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.589e-05/0.0026, allocations: 31.3 kB / 0.8795 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.141e-06/0.002606, allocations: 192 / 0.8795 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-06/0.002614, allocations: 384 / 0.8795 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.00262, allocations: 7.5 kB / 0.8795 GB, free: 4.906 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.434e-05/0.002634, allocations: 11.86 kB / 0.8795 GB, free: 4.895 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.651e-05/0.002721, allocations: 104.6 kB / 0.8796 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.418e-05/0.002755, allocations: 27.09 kB / 0.8796 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.393e-05/0.002769, allocations: 7.688 kB / 0.8796 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001462/0.002915, allocations: 12.05 kB / 0.8797 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.002933, allocations: 33.39 kB / 0.8797 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.002934, allocations: 0 / 0.8797 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001195/0.003053, allocations: 39.39 kB / 0.8797 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.648e-05/0.00308, allocations: 51.41 kB / 0.8798 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002739/0.003354, allocations: 142.2 kB / 0.8799 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.917e-06/0.003363, allocations: 26.23 kB / 0.8799 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.436e-05/0.003387, allocations: 128.5 kB / 0.8801 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.547e-05/0.003413, allocations: 7.938 kB / 0.8801 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.233e-05/0.003435, allocations: 27.36 kB / 0.8801 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.995e-05/0.003525, allocations: 496.1 kB / 0.8806 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.055e-06/0.003533, allocations: 0 / 0.8806 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.6e-06/0.003538, allocations: 5.031 kB / 0.8806 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.399e-05/0.003562, allocations: 8.188 kB / 0.8806 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.003564, allocations: 3.938 kB / 0.8806 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.837e-05/0.003613, allocations: 35.3 kB / 0.8806 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.003623, allocations: 4 kB / 0.8806 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.003628, allocations: 3.984 kB / 0.8806 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.003639, allocations: 224 / 0.8806 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.572e-05/0.003674, allocations: 12 kB / 0.8806 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.003679, allocations: 0 / 0.8806 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.065e-06/0.003687, allocations: 11.88 kB / 0.8806 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.003691, allocations: 0 / 0.8806 GB, free: 3.605 MB / 0.8386 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.035e-05/0.003742, allocations: 152.6 kB / 0.8808 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.269e-05/0.003754, allocations: 4 kB / 0.8808 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.651e-05/0.003811, allocations: 40.62 kB / 0.8808 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.003812, allocations: 0 / 0.8808 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.003815, allocations: 0 / 0.8808 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.003818, allocations: 0 / 0.8808 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.8e-05/0.003866, allocations: 116.6 kB / 0.8809 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.003866, allocations: 0 / 0.8809 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.511e-06/0.003872, allocations: 4 kB / 0.8809 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.003873, allocations: 0 / 0.8809 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.219e-06/0.003879, allocations: 0 / 0.8809 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.00388, allocations: 0 / 0.8809 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.003881, allocations: 0 / 0.8809 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.207e-05/0.003933, allocations: 73.12 kB / 0.881 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.396e-06/0.003936, allocations: 3.984 kB / 0.881 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.416e-06/0.003945, allocations: 4 kB / 0.881 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.166e-06/0.003948, allocations: 7.969 kB / 0.881 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.148e-05/0.003959, allocations: 0 / 0.881 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/0.003961, allocations: 0 / 0.881 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.368e-05/0.003984, allocations: 119.2 kB / 0.8811 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4e-08/0.003984, allocations: 0 / 0.8811 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001234/0.004108, allocations: 11.98 kB / 0.8812 GB, free: 3.004 MB / 0.8386 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.0001256/0.004233, allocations: 111.1 kB / 0.8813 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.739e-05/0.004291, allocations: 19.67 kB / 0.8813 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.004293, allocations: 0 / 0.8813 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.67e-06/0.004298, allocations: 7.688 kB / 0.8813 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.797e-05/0.004386, allocations: 4 kB / 0.8813 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001531/0.004539, allocations: 79.95 kB / 0.8814 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.778e-05/0.004567, allocations: 59.3 kB / 0.8814 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.215e-06/0.004575, allocations: 0 / 0.8814 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.157e-05/0.004587, allocations: 8.5 kB / 0.8814 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of SimCode: time 3.2e-07/0.004587, allocations: 0 / 0.8814 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of Templates: time 0.001818/0.006405, allocations: 452.5 kB / 0.8819 GB, free: 2.211 MB / 0.8386 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.014814328867942]