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.001825/0.001825, allocations: 77.55 kB / 19.76 MB, free: 2.027 MB / 14.72 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.002241/0.002241, allocations: 154.8 kB / 23.01 MB, free: 4.949 MB / 14.72 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.425/1.425, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] 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.877/2.877, allocations: 394.2 MB / 0.6387 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 13.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002216, allocations: 71.88 kB / 1.009 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7746/0.7768, allocations: 181.8 MB / 1.187 GB, free: 16.17 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.00151/0.7783, allocations: 0.596 MB / 1.187 GB, free: 15.8 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0003242/0.7787, allocations: 84.5 kB / 1.187 GB, free: 15.75 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.11e-05/0.7787, allocations: 0.9375 kB / 1.187 GB, free: 15.75 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 1.033e-05/0.7787, allocations: 0 / 1.187 GB, free: 15.75 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 5.561e-06/0.7787, allocations: 0 / 1.187 GB, free: 15.75 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003147/0.779, allocations: 37.55 kB / 1.187 GB, free: 15.73 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 3.689e-05/0.779, allocations: 1.812 kB / 1.187 GB, free: 15.73 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.665e-05/0.7791, allocations: 6.078 kB / 1.187 GB, free: 15.73 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 1.09e-05/0.7791, allocations: 0 / 1.187 GB, free: 15.73 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 1.427e-05/0.7791, allocations: 5.312 kB / 1.187 GB, free: 15.73 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 7.244e-06/0.7791, allocations: 0 / 1.187 GB, free: 15.73 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.7792, allocations: 40.5 kB / 1.187 GB, free: 15.71 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 7.444e-06/0.7792, allocations: 1.344 kB / 1.187 GB, free: 15.71 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 1.052e-05/0.7792, allocations: 0 / 1.187 GB, free: 15.71 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 9.261e-05/0.7793, allocations: 27.25 kB / 1.187 GB, free: 15.7 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.7793, allocations: 1.406 kB / 1.187 GB, free: 15.7 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.352e-06/0.7793, allocations: 4 kB / 1.187 GB, free: 15.7 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.7793, allocations: 0.5625 kB / 1.187 GB, free: 15.7 MB / 1.076 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.0001925/0.7795, allocations: 236.8 kB / 1.188 GB, free: 15.45 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.7796, allocations: 9.656 kB / 1.188 GB, free: 15.45 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.627e-05/0.7796, allocations: 2.188 kB / 1.188 GB, free: 15.45 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.036e-05/0.7797, allocations: 104.4 kB / 1.188 GB, free: 15.32 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.7797, allocations: 0.9375 kB / 1.188 GB, free: 15.32 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.725e-06/0.7797, allocations: 1.5 kB / 1.188 GB, free: 15.32 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.794e-05/0.7798, allocations: 32.3 kB / 1.188 GB, free: 15.29 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.7798, allocations: 5.438 kB / 1.188 GB, free: 15.28 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.7798, allocations: 8.547 kB / 1.188 GB, free: 15.27 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.7798, allocations: 0 / 1.188 GB, free: 15.27 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.697e-05/0.7798, allocations: 1.344 kB / 1.188 GB, free: 15.27 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.34e-05/0.7799, allocations: 100.3 kB / 1.188 GB, free: 15.15 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 3.299e-05/0.7799, allocations: 16.55 kB / 1.188 GB, free: 15.12 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.258e-05/0.7799, allocations: 6.625 kB / 1.188 GB, free: 15.12 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001834/0.7801, allocations: 15.58 kB / 1.188 GB, free: 15.11 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.679e-05/0.7801, allocations: 33.58 kB / 1.188 GB, free: 15.07 MB / 1.076 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.7801, allocations: 3.938 kB / 1.188 GB, free: 15.07 MB / 1.076 GB Notification: Performance of matching and sorting (n=1): time 0.0001169/0.7802, allocations: 43.95 kB / 1.188 GB, free: 15.02 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.144e-05/0.7803, allocations: 51.92 kB / 1.188 GB, free: 14.96 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.19e-05/0.7803, allocations: 91.33 kB / 1.188 GB, free: 14.86 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.189e-06/0.7803, allocations: 25.7 kB / 1.188 GB, free: 14.83 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.275e-06/0.7803, allocations: 80.14 kB / 1.188 GB, free: 14.75 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.7803, allocations: 6.234 kB / 1.188 GB, free: 14.75 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.128e-05/0.7803, allocations: 11.97 kB / 1.188 GB, free: 14.73 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.45e-05/0.7804, allocations: 312.2 kB / 1.189 GB, free: 14.42 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.506e-06/0.7804, allocations: 2.547 kB / 1.189 GB, free: 14.42 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.699e-06/0.7804, allocations: 0 / 1.189 GB, free: 14.42 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.023e-05/0.7804, allocations: 15.39 kB / 1.189 GB, free: 14.4 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.7804, allocations: 2.109 kB / 1.189 GB, free: 14.4 MB / 1.076 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.11e-05/0.7804, allocations: 35.44 kB / 1.189 GB, free: 14.37 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 9.869e-06/0.7805, allocations: 9.688 kB / 1.189 GB, free: 14.36 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.7805, allocations: 0 / 1.189 GB, free: 14.36 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.7805, allocations: 1.469 kB / 1.189 GB, free: 14.36 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.125e-05/0.7805, allocations: 6.188 kB / 1.189 GB, free: 14.36 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.137e-06/0.7805, allocations: 0.5156 kB / 1.189 GB, free: 14.36 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.857e-06/0.7805, allocations: 0 / 1.189 GB, free: 14.36 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-06/0.7805, allocations: 1 kB / 1.189 GB, free: 14.36 MB / 1.076 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 3.175e-05/0.7806, allocations: 112 kB / 1.189 GB, free: 14.24 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.812e-05/0.7806, allocations: 1.953 kB / 1.189 GB, free: 14.24 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.841e-05/0.7806, allocations: 39.03 kB / 1.189 GB, free: 14.2 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.7806, allocations: 3.938 kB / 1.189 GB, free: 14.2 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.7806, allocations: 0 / 1.189 GB, free: 14.2 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.7806, allocations: 2.172 kB / 1.189 GB, free: 14.2 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.34e-05/0.7807, allocations: 99.47 kB / 1.189 GB, free: 14.07 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.7807, allocations: 0.7031 kB / 1.189 GB, free: 14.07 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.16e-05/0.7807, allocations: 1.344 kB / 1.189 GB, free: 14.07 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.7807, allocations: 0.75 kB / 1.189 GB, free: 14.07 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.168e-06/0.7807, allocations: 5.531 kB / 1.189 GB, free: 14.07 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.7807, allocations: 4 kB / 1.189 GB, free: 14.07 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.7807, allocations: 3.938 kB / 1.189 GB, free: 14.06 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.885e-05/0.7807, allocations: 59.06 kB / 1.189 GB, free: 14 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.781e-06/0.7808, allocations: 9.703 kB / 1.189 GB, free: 13.99 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.925e-06/0.7808, allocations: 3.938 kB / 1.189 GB, free: 13.98 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.524e-06/0.7808, allocations: 1.797 kB / 1.189 GB, free: 13.98 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.427e-06/0.7808, allocations: 4.641 kB / 1.189 GB, free: 13.98 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/0.7808, allocations: 1.25 kB / 1.189 GB, free: 13.98 MB / 1.076 GB Notification: Performance of sorting global known variables: time 9.357e-06/0.7808, allocations: 75.28 kB / 1.189 GB, free: 13.91 MB / 1.076 GB Notification: Performance of sort global known variables: time 6e-08/0.7808, allocations: 5.562 kB / 1.189 GB, free: 13.9 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001922/0.781, allocations: 8.484 kB / 1.189 GB, free: 13.9 MB / 1.076 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.0001434/0.7811, allocations: 103.4 kB / 1.189 GB, free: 13.81 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 5.806e-05/0.7812, allocations: 4.531 kB / 1.189 GB, free: 13.81 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.7812, allocations: 0 / 1.189 GB, free: 13.81 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 6.492e-06/0.7812, allocations: 1.531 kB / 1.189 GB, free: 13.81 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001213/0.7813, allocations: 5.844 kB / 1.189 GB, free: 13.8 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001324/0.7814, allocations: 88.84 kB / 1.189 GB, free: 13.7 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.103e-05/0.7815, allocations: 54.86 kB / 1.189 GB, free: 13.63 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 9.538e-06/0.7815, allocations: 2 kB / 1.189 GB, free: 13.63 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.091e-05/0.7815, allocations: 8.5 kB / 1.189 GB, free: 13.62 MB / 1.076 GB Notification: Performance of SimCode: time 2.7e-07/0.7815, allocations: 0 / 1.189 GB, free: 13.62 MB / 1.076 GB Notification: Performance of Templates: time 0.002512/0.784, allocations: 390.2 kB / 1.19 GB, free: 13.54 MB / 1.076 GB " [Timeout remaining time 299] 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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.426492362981662]