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.001008/0.001008, 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.00106/0.00106, allocations: 165 kB / 23.01 MB, free: 1.551 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.9423/0.9423, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.087/2.087, allocations: 429.5 MB / 0.6732 GB, free: 4.062 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.232e-06/1.232e-06, allocations: 0 / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.438e-05/1.561e-05, allocations: 4.844 kB / 0.8782 GB, free: 6.277 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.0009716/0.0009872, allocations: 0.612 MB / 0.8788 GB, free: 5.684 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002543/0.001241, allocations: 86.45 kB / 0.8789 GB, free: 5.602 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.096e-05/0.001252, allocations: 0 / 0.8789 GB, free: 5.602 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.806e-05/0.001271, allocations: 0 / 0.8789 GB, free: 5.602 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.07e-06/0.001276, allocations: 1.125 kB / 0.8789 GB, free: 5.602 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003387/0.001614, allocations: 32.72 kB / 0.8789 GB, free: 5.57 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 4.086e-05/0.001655, allocations: 7.984 kB / 0.8789 GB, free: 5.562 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.269e-05/0.001688, allocations: 1.125 kB / 0.8789 GB, free: 5.562 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 2.131e-05/0.001709, allocations: 0.6562 kB / 0.8789 GB, free: 5.562 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 1.337e-05/0.001723, allocations: 0 / 0.8789 GB, free: 5.562 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.001735, allocations: 0.9062 kB / 0.8789 GB, free: 5.562 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.001841, allocations: 41.05 kB / 0.879 GB, free: 5.523 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.327e-05/0.001854, allocations: 0.5312 kB / 0.879 GB, free: 5.523 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.356e-05/0.001867, allocations: 0 / 0.879 GB, free: 5.523 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.148e-05/0.001959, allocations: 37.73 kB / 0.879 GB, free: 5.488 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/0.001961, allocations: 0 / 0.879 GB, free: 5.488 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.71e-07/0.001961, allocations: 3.438 kB / 0.879 GB, free: 5.488 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.055e-06/0.001964, allocations: 0 / 0.879 GB, free: 5.488 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.0002215/0.002186, allocations: 336.4 kB / 0.8793 GB, free: 5.121 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.002218, allocations: 8.031 kB / 0.8794 GB, free: 5.113 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.252e-05/0.00228, allocations: 8.875 kB / 0.8794 GB, free: 5.105 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.274e-05/0.002333, allocations: 112.6 kB / 0.8795 GB, free: 4.969 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.002343, allocations: 384 / 0.8795 GB, free: 4.969 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.886e-06/0.002352, allocations: 384 / 0.8795 GB, free: 4.969 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.027e-05/0.002422, allocations: 30.27 kB / 0.8795 GB, free: 4.934 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.00243, allocations: 0.7812 kB / 0.8795 GB, free: 4.934 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.423e-06/0.002438, allocations: 1.562 kB / 0.8795 GB, free: 4.934 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.002444, allocations: 384 / 0.8795 GB, free: 4.934 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.35e-05/0.002458, allocations: 7.875 kB / 0.8795 GB, free: 4.926 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.742e-05/0.002545, allocations: 109.7 kB / 0.8796 GB, free: 4.785 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.698e-05/0.002582, allocations: 23.06 kB / 0.8796 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.652e-05/0.002599, allocations: 19.77 kB / 0.8797 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001381/0.002737, allocations: 1.062 kB / 0.8797 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.002757, allocations: 37.39 kB / 0.8797 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.002758, allocations: 0 / 0.8797 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001222/0.00288, allocations: 39.5 kB / 0.8797 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.429e-05/0.002904, allocations: 51.41 kB / 0.8798 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.509e-05/0.002939, allocations: 142.2 kB / 0.8799 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.734e-06/0.002947, allocations: 26.83 kB / 0.8799 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.53e-05/0.002972, allocations: 134.9 kB / 0.8801 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.545e-05/0.002998, allocations: 3.953 kB / 0.8801 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.044e-05/0.003018, allocations: 15.97 kB / 0.8801 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003489/0.003367, allocations: 0.4885 MB / 0.8806 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.384e-06/0.003374, allocations: 4 kB / 0.8806 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.618e-06/0.003379, allocations: 0 / 0.8806 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.552e-05/0.003405, allocations: 15.67 kB / 0.8806 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.003406, allocations: 0 / 0.8806 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.137e-05/0.003448, allocations: 37.64 kB / 0.8806 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.003458, allocations: 4 kB / 0.8806 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.003462, allocations: 0 / 0.8806 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.003477, allocations: 4 kB / 0.8806 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.418e-05/0.003511, allocations: 0 / 0.8806 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.167e-06/0.003515, allocations: 4.094 kB / 0.8806 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.063e-06/0.003522, allocations: 3.938 kB / 0.8806 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.003526, allocations: 0 / 0.8806 GB, free: 3.645 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.191e-05/0.003578, allocations: 160.6 kB / 0.8808 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.237e-06/0.003587, allocations: 3.938 kB / 0.8808 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.983e-05/0.003647, allocations: 40.64 kB / 0.8808 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.003649, allocations: 0 / 0.8808 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.003652, allocations: 0 / 0.8808 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.003654, allocations: 0 / 0.8808 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.553e-05/0.003699, allocations: 120.6 kB / 0.8809 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.61e-07/0.0037, allocations: 4.031 kB / 0.8809 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.57e-06/0.003705, allocations: 0 / 0.8809 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.71e-07/0.003706, allocations: 0 / 0.8809 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.398e-06/0.00371, allocations: 4 kB / 0.881 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.51e-07/0.003711, allocations: 0 / 0.881 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.003711, allocations: 0 / 0.881 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.672e-05/0.003768, allocations: 73.12 kB / 0.881 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.174e-06/0.00377, allocations: 0 / 0.881 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.943e-06/0.003777, allocations: 0 / 0.881 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.316e-06/0.00378, allocations: 0 / 0.881 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.175e-05/0.003792, allocations: 0 / 0.881 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-06/0.003794, allocations: 8.016 kB / 0.881 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.518e-05/0.003819, allocations: 131.1 kB / 0.8812 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4e-08/0.003819, allocations: 0 / 0.8812 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001246/0.003944, allocations: 4 kB / 0.8812 GB, free: 3.031 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.0001101/0.004054, allocations: 115.1 kB / 0.8813 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.444e-05/0.004108, allocations: 11.69 kB / 0.8813 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.00411, allocations: 4.062 kB / 0.8813 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.652e-06/0.004116, allocations: 11.69 kB / 0.8813 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.685e-05/0.004203, allocations: 0 / 0.8813 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001466/0.00435, allocations: 91.94 kB / 0.8814 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.442e-05/0.004374, allocations: 51.36 kB / 0.8814 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.165e-06/0.004382, allocations: 0 / 0.8814 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.28e-05/0.004395, allocations: 8.5 kB / 0.8814 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of SimCode: time 3.81e-07/0.004395, allocations: 0 / 0.8814 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of Templates: time 0.001699/0.006095, allocations: 412.5 kB / 0.8818 GB, free: 2.273 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.325878598727286]