Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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.001602/0.001602, allocations: 79.75 kB / 19.76 MB, free: 2.02 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.002449/0.002449, allocations: 156.3 kB / 23 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.551/1.551, allocations: 177.2 MB / 203.4 MB, free: 8.953 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.884/2.884, allocations: 394.2 MB / 0.6386 GB, free: 11.92 MB / 0.6075 GB " [Timeout remaining time 176] 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.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|E1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|E1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.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.002295/0.002295, allocations: 63.91 kB / 1.009 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8393/0.8416, allocations: 181.8 MB / 1.187 GB, free: 16.18 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002354/0.844, allocations: 1.462 MB / 1.188 GB, free: 15.17 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0003884/0.8444, allocations: 148.5 kB / 1.188 GB, free: 15.08 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.347e-05/0.8444, allocations: 0 / 1.188 GB, free: 15.08 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.784e-05/0.8444, allocations: 0 / 1.188 GB, free: 15.08 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 3.49e-05/0.8445, allocations: 6 kB / 1.188 GB, free: 15.07 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003027/0.8448, allocations: 40.36 kB / 1.188 GB, free: 15.05 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 5.795e-05/0.8448, allocations: 24.58 kB / 1.188 GB, free: 15.04 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 8.044e-05/0.8449, allocations: 6.438 kB / 1.188 GB, free: 15.04 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 2.311e-05/0.8449, allocations: 9.5 kB / 1.188 GB, free: 15.04 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 3.011e-05/0.845, allocations: 9.453 kB / 1.188 GB, free: 15.03 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.076e-05/0.845, allocations: 1.438 kB / 1.188 GB, free: 15.03 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.8451, allocations: 46.77 kB / 1.188 GB, free: 15.01 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.073e-05/0.8451, allocations: 1.312 kB / 1.188 GB, free: 15.01 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 1.883e-05/0.8451, allocations: 10.7 kB / 1.188 GB, free: 15 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.8452, allocations: 42.7 kB / 1.188 GB, free: 14.99 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.8452, allocations: 0.6562 kB / 1.188 GB, free: 14.99 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8452, allocations: 0 / 1.188 GB, free: 14.99 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.8452, allocations: 0 / 1.188 GB, free: 14.99 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003486/0.8456, allocations: 261.7 kB / 1.189 GB, free: 14.73 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.8456, allocations: 10.16 kB / 1.189 GB, free: 14.73 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.614e-05/0.8457, allocations: 6.578 kB / 1.189 GB, free: 14.72 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.705e-05/0.8457, allocations: 113.6 kB / 1.189 GB, free: 14.59 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.8457, allocations: 1.562 kB / 1.189 GB, free: 14.59 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.8458, allocations: 1.719 kB / 1.189 GB, free: 14.59 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.8459, allocations: 53.16 kB / 1.189 GB, free: 14.55 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.8459, allocations: 192 / 1.189 GB, free: 14.55 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-06/0.8459, allocations: 4.641 kB / 1.189 GB, free: 14.55 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.8459, allocations: 0 / 1.189 GB, free: 14.55 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001619/0.8461, allocations: 32.95 kB / 1.189 GB, free: 14.54 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002202/0.8463, allocations: 194.2 kB / 1.189 GB, free: 14.34 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.8464, allocations: 41.66 kB / 1.189 GB, free: 14.3 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.344e-05/0.8465, allocations: 19.83 kB / 1.189 GB, free: 14.3 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001318/0.8467, allocations: 19.36 kB / 1.189 GB, free: 14.29 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.687e-05/0.8467, allocations: 36.31 kB / 1.189 GB, free: 14.24 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.8467, allocations: 0 / 1.189 GB, free: 14.24 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0003464/0.847, allocations: 83.56 kB / 1.189 GB, free: 14.2 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.806e-05/0.847, allocations: 53.17 kB / 1.189 GB, free: 14.14 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.462e-05/0.8471, allocations: 97.33 kB / 1.189 GB, free: 14.04 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.811e-06/0.8471, allocations: 25.7 kB / 1.189 GB, free: 14.01 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.159e-05/0.8471, allocations: 90.61 kB / 1.189 GB, free: 13.92 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.495e-05/0.8471, allocations: 13.53 kB / 1.189 GB, free: 13.91 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.553e-05/0.8471, allocations: 16.69 kB / 1.189 GB, free: 13.89 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.664e-05/0.8472, allocations: 316.7 kB / 1.19 GB, free: 13.57 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.192e-05/0.8473, allocations: 18.23 kB / 1.19 GB, free: 13.57 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.347e-05/0.8473, allocations: 19.28 kB / 1.19 GB, free: 13.56 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.8475, allocations: 36.59 kB / 1.19 GB, free: 13.55 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.8475, allocations: 0.6562 kB / 1.19 GB, free: 13.55 MB / 1.076 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001932/0.8477, allocations: 67.22 kB / 1.19 GB, free: 13.51 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.8477, allocations: 9.375 kB / 1.19 GB, free: 13.51 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.8477, allocations: 4.641 kB / 1.19 GB, free: 13.5 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.8477, allocations: 0.7188 kB / 1.19 GB, free: 13.5 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.708e-05/0.8478, allocations: 9.438 kB / 1.19 GB, free: 13.5 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.8478, allocations: 3.938 kB / 1.19 GB, free: 13.5 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.774e-05/0.8478, allocations: 7.016 kB / 1.19 GB, free: 13.5 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.8478, allocations: 0 / 1.19 GB, free: 13.5 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 (2): * Single equations (assignments): 2 * 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.843e-05/0.8479, allocations: 113.1 kB / 1.19 GB, free: 13.38 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.45e-05/0.8479, allocations: 5.281 kB / 1.19 GB, free: 13.38 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002137/0.8481, allocations: 71.83 kB / 1.19 GB, free: 13.33 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.8481, allocations: 1.094 kB / 1.19 GB, free: 13.33 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.8481, allocations: 0 / 1.19 GB, free: 13.33 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.8481, allocations: 5.062 kB / 1.19 GB, free: 13.33 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.986e-05/0.8482, allocations: 103.5 kB / 1.19 GB, free: 13.2 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.8482, allocations: 1.125 kB / 1.19 GB, free: 13.2 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.676e-05/0.8483, allocations: 8.672 kB / 1.19 GB, free: 13.2 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.8483, allocations: 4.812 kB / 1.19 GB, free: 13.2 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.8483, allocations: 0 / 1.19 GB, free: 13.2 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.8483, allocations: 5.797 kB / 1.19 GB, free: 13.2 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.8483, allocations: 3.938 kB / 1.19 GB, free: 13.19 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002109/0.8485, allocations: 163.7 kB / 1.19 GB, free: 13.05 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.545e-06/0.8485, allocations: 6.781 kB / 1.19 GB, free: 13.05 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.8485, allocations: 0 / 1.19 GB, free: 13.05 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.628e-05/0.8486, allocations: 7.109 kB / 1.19 GB, free: 13.05 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.317e-05/0.8486, allocations: 2.531 kB / 1.19 GB, free: 13.05 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.8486, allocations: 1.062 kB / 1.19 GB, free: 13.05 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.028e-05/0.8487, allocations: 88.53 kB / 1.191 GB, free: 12.96 MB / 1.076 GB Notification: Performance of sort global known variables: time 6.1e-08/0.8487, allocations: 0 / 1.191 GB, free: 12.96 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002333/0.8489, allocations: 15.64 kB / 1.191 GB, free: 12.96 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 (2): * Single equations (assignments): 2 * 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.0001349/0.849, allocations: 102.5 kB / 1.191 GB, free: 12.87 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002257/0.8493, allocations: 42.77 kB / 1.191 GB, free: 12.86 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.8493, allocations: 0 / 1.191 GB, free: 12.86 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 8.415e-05/0.8493, allocations: 20.11 kB / 1.191 GB, free: 12.85 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.8496, allocations: 5.438 kB / 1.191 GB, free: 12.85 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002123/0.8498, allocations: 108.7 kB / 1.191 GB, free: 12.74 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.446e-05/0.8498, allocations: 59.91 kB / 1.191 GB, free: 12.67 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.945e-05/0.8499, allocations: 1.094 kB / 1.191 GB, free: 12.67 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.839e-05/0.8499, allocations: 11.31 kB / 1.191 GB, free: 12.66 MB / 1.076 GB Notification: Performance of SimCode: time 3.4e-07/0.8499, allocations: 4 kB / 1.191 GB, free: 12.66 MB / 1.076 GB Notification: Performance of Templates: time 0.003024/0.8529, allocations: 0.6564 MB / 1.192 GB, free: 12.55 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.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.647751717013307]