Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001761/0.001761, allocations: 103.5 kB / 16.45 MB, free: 6.504 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.00213/0.00213, allocations: 212.9 kB / 19.43 MB, free: 3.656 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.53/1.53, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.314/3.314, allocations: 0.49 GB / 0.7916 GB, free: 33.35 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) [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.002089/0.002089, allocations: 79.88 kB / 1.149 GB, free: 26.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3654/0.3675, allocations: 176.1 MB / 1.321 GB, free: 3.312 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001667/0.3692, allocations: 0.5864 MB / 1.321 GB, free: 2.73 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0003524/0.3695, allocations: 99.64 kB / 1.322 GB, free: 2.633 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.159e-05/0.3695, allocations: 0 / 1.322 GB, free: 2.633 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.596e-05/0.3695, allocations: 0 / 1.322 GB, free: 2.633 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.099e-06/0.3695, allocations: 0 / 1.322 GB, free: 2.633 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003283/0.3699, allocations: 39.89 kB / 1.322 GB, free: 2.594 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 3.696e-05/0.3699, allocations: 3.938 kB / 1.322 GB, free: 2.59 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.867e-05/0.3699, allocations: 0 / 1.322 GB, free: 2.59 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.103e-05/0.37, allocations: 0 / 1.322 GB, free: 2.59 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 1.787e-05/0.37, allocations: 4 kB / 1.322 GB, free: 2.586 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.344e-06/0.37, allocations: 0 / 1.322 GB, free: 2.586 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001413/0.3701, allocations: 31.97 kB / 1.322 GB, free: 2.555 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 8.566e-06/0.3701, allocations: 0 / 1.322 GB, free: 2.555 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.579e-05/0.3701, allocations: 7.922 kB / 1.322 GB, free: 2.547 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.3703, allocations: 32.12 kB / 1.322 GB, free: 2.516 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3703, allocations: 0 / 1.322 GB, free: 2.516 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3703, allocations: 4 kB / 1.322 GB, free: 2.512 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.3703, allocations: 3.984 kB / 1.322 GB, free: 2.508 MB / 1.014 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.0003243/0.3706, allocations: 317.7 kB / 1.322 GB, free: 2.148 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.3706, allocations: 15.98 kB / 1.322 GB, free: 2.133 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.869e-05/0.3707, allocations: 34.73 kB / 1.322 GB, free: 2.09 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.801e-05/0.3707, allocations: 0.9375 kB / 1.322 GB, free: 2.09 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.3708, allocations: 164.4 kB / 1.322 GB, free: 1.891 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.886e-06/0.3708, allocations: 384 / 1.322 GB, free: 1.891 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.592e-06/0.3708, allocations: 4.312 kB / 1.322 GB, free: 1.887 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.036e-05/0.3709, allocations: 34.27 kB / 1.322 GB, free: 1.848 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.3709, allocations: 3.938 kB / 1.322 GB, free: 1.844 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.644e-06/0.3709, allocations: 0 / 1.322 GB, free: 1.844 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.3709, allocations: 0 / 1.322 GB, free: 1.844 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.694e-05/0.371, allocations: 3.938 kB / 1.322 GB, free: 1.84 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001545/0.3711, allocations: 149.7 kB / 1.322 GB, free: 1.645 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 4.02e-05/0.3712, allocations: 18.56 kB / 1.322 GB, free: 1.617 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.719e-05/0.3712, allocations: 8.859 kB / 1.322 GB, free: 1.605 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002202/0.3714, allocations: 93.19 kB / 1.322 GB, free: 1.496 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.3714, allocations: 34.56 kB / 1.322 GB, free: 1.453 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.3714, allocations: 0 / 1.322 GB, free: 1.453 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0001414/0.3716, allocations: 37.58 kB / 1.323 GB, free: 1.41 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.3716, allocations: 51.41 kB / 1.323 GB, free: 1.348 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.134e-05/0.3717, allocations: 93.8 kB / 1.323 GB, free: 1.246 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.3717, allocations: 25.7 kB / 1.323 GB, free: 1.215 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.615e-05/0.3717, allocations: 84.27 kB / 1.323 GB, free: 1.129 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.942e-05/0.3718, allocations: 3.953 kB / 1.323 GB, free: 1.125 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.972e-05/0.3718, allocations: 17.72 kB / 1.323 GB, free: 1.102 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.3719, allocations: 314.8 kB / 1.323 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.231e-05/0.3719, allocations: 4 kB / 1.323 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.573e-06/0.3719, allocations: 4 kB / 1.323 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.473e-05/0.372, allocations: 4.859 kB / 1.323 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.372, allocations: 4 kB / 1.323 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.933e-05/0.372, allocations: 37.7 kB / 1.323 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.3721, allocations: 4 kB / 1.323 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.3721, allocations: 3.938 kB / 1.323 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.3721, allocations: 0 / 1.323 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.91e-05/0.3721, allocations: 7.984 kB / 1.323 GB, free: 0.707 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.3721, allocations: 0 / 1.323 GB, free: 0.707 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.127e-06/0.3721, allocations: 0 / 1.323 GB, free: 0.707 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.3721, allocations: 4 kB / 1.323 GB, free: 0.7031 MB / 1.014 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 7.762e-05/0.3722, allocations: 109.9 kB / 1.323 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.69e-05/0.3722, allocations: 0 / 1.323 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.368e-05/0.3723, allocations: 40.7 kB / 1.323 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.3723, allocations: 7.984 kB / 1.323 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3723, allocations: 0 / 1.323 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3723, allocations: 0 / 1.323 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/0.3724, allocations: 145.7 kB / 1.323 GB, free: 348 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3724, allocations: 0 / 1.323 GB, free: 348 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.408e-05/0.3724, allocations: 4 kB / 1.323 GB, free: 344 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.3724, allocations: 0 / 1.323 GB, free: 344 kB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.3725, allocations: 11.91 kB / 1.323 GB, free: 332 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.3725, allocations: 0 / 1.323 GB, free: 332 kB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3725, allocations: 0 / 1.323 GB, free: 332 kB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.555e-05/0.3725, allocations: 57.12 kB / 1.324 GB, free: 256 kB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.245e-05/0.3726, allocations: 77.11 kB / 1.324 GB, free: 160 kB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.117e-05/0.3726, allocations: 3.938 kB / 1.324 GB, free: 156 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.923e-06/0.3726, allocations: 3.938 kB / 1.324 GB, free: 152 kB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.206e-05/0.3726, allocations: 4.031 kB / 1.324 GB, free: 148 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/0.3726, allocations: 7.938 kB / 1.324 GB, free: 140 kB / 1.014 GB Notification: Performance of sorting global known variables: time 3.565e-05/0.3727, allocations: 79.27 kB / 1.324 GB, free: 60 kB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.3727, allocations: 0 / 1.324 GB, free: 60 kB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002001/0.3729, allocations: 11.94 kB / 1.324 GB, free: 48 kB / 1.014 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.0005322/0.3734, allocations: 0.6086 MB / 1.324 GB, free: 15.41 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 6.569e-05/0.3734, allocations: 7.938 kB / 1.324 GB, free: 15.4 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3735, allocations: 0 / 1.324 GB, free: 15.4 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.315e-06/0.3735, allocations: 4 kB / 1.324 GB, free: 15.39 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.3736, allocations: 0 / 1.324 GB, free: 15.39 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003392/0.3739, allocations: 126.5 kB / 1.324 GB, free: 15.23 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.3743, allocations: 0.6729 MB / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.919e-06/0.3743, allocations: 0 / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.603e-05/0.3743, allocations: 11.44 kB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.3743, allocations: 0 / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.023/0.3973, allocations: 1.156 MB / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.956/8.354, allocations: 2 kB / 1.326 GB, free: 13.48 MB / 1.029 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.csv --start-time 0.01 --stop-time 3 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001196 Buildings_12_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 15.457456598989666]