Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001764/0.001764, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002393/0.002393, allocations: 219.2 kB / 23.03 MB, free: 4.922 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.505/1.505, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.907/2.907, allocations: 476.8 MB / 0.7715 GB, free: 3.902 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="cs",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.001986/0.001986, allocations: 67.94 kB / 1.118 GB, free: 8.715 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4437/0.4457, allocations: 169.9 MB / 1.284 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.003385/0.4491, allocations: 1.447 MB / 1.286 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000475/0.4496, allocations: 143.5 kB / 1.286 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.155e-05/0.4496, allocations: 0 / 1.286 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.388e-05/0.4496, allocations: 7.922 kB / 1.286 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.9e-05/0.4497, allocations: 4 kB / 1.286 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003771/0.4501, allocations: 47.83 kB / 1.286 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.584e-05/0.4501, allocations: 16 kB / 1.286 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.148e-05/0.4502, allocations: 7.984 kB / 1.286 GB, free: 1.598 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.804e-05/0.4503, allocations: 15.88 kB / 1.286 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.188e-05/0.4503, allocations: 7.984 kB / 1.286 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.4503, allocations: 0 / 1.286 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001451/0.4505, allocations: 43.95 kB / 1.286 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.098e-05/0.4505, allocations: 7.922 kB / 1.286 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.122e-05/0.4505, allocations: 4 kB / 1.286 GB, free: 1.52 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.4507, allocations: 52.03 kB / 1.286 GB, free: 1.469 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.4507, allocations: 4 kB / 1.286 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4507, allocations: 4 kB / 1.286 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.4507, allocations: 0 / 1.286 GB, free: 1.461 MB / 0.9825 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.0005004/0.4512, allocations: 266.3 kB / 1.286 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.4512, allocations: 12.03 kB / 1.286 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.673e-05/0.4512, allocations: 192 / 1.286 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.985e-05/0.4513, allocations: 34.75 kB / 1.286 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.668e-05/0.4513, allocations: 4.938 kB / 1.286 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.4515, allocations: 110.5 kB / 1.286 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.4515, allocations: 384 / 1.286 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.998e-06/0.4515, allocations: 8.375 kB / 1.286 GB, free: 0.9688 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.4517, allocations: 57.97 kB / 1.286 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.4517, allocations: 0 / 1.286 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.4517, allocations: 3.938 kB / 1.286 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.4517, allocations: 0 / 1.286 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001673/0.4519, allocations: 35.95 kB / 1.286 GB, free: 0.8672 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003732/0.4522, allocations: 215.9 kB / 1.287 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.4524, allocations: 42.59 kB / 1.287 GB, free: 0.5625 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.287e-05/0.4524, allocations: 20.84 kB / 1.287 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001623/0.4526, allocations: 11.98 kB / 1.287 GB, free: 0.5273 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/0.4526, allocations: 38.5 kB / 1.287 GB, free: 492 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.4526, allocations: 0 / 1.287 GB, free: 492 kB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003757/0.453, allocations: 77.64 kB / 1.287 GB, free: 408 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.4531, allocations: 59.53 kB / 1.287 GB, free: 336 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.846e-05/0.4532, allocations: 93.86 kB / 1.287 GB, free: 232 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.4532, allocations: 25.7 kB / 1.287 GB, free: 200 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.977e-05/0.4532, allocations: 92.06 kB / 1.287 GB, free: 104 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.691e-05/0.4533, allocations: 7.953 kB / 1.287 GB, free: 96 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.369e-05/0.4533, allocations: 9.719 kB / 1.287 GB, free: 80 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.4535, allocations: 318.8 kB / 1.287 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.023e-05/0.4535, allocations: 11.98 kB / 1.287 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.337e-05/0.4536, allocations: 23.91 kB / 1.287 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.4538, allocations: 44.83 kB / 1.287 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4538, allocations: 0 / 1.287 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002036/0.454, allocations: 65.66 kB / 1.287 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.454, allocations: 4 kB / 1.287 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.454, allocations: 0 / 1.287 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.454, allocations: 0 / 1.287 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.783e-05/0.4541, allocations: 16.02 kB / 1.288 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.4541, allocations: 0 / 1.288 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.254e-05/0.4541, allocations: 4 kB / 1.288 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.4541, allocations: 0 / 1.288 GB, free: 15.58 MB / 0.9981 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 9.606e-05/0.4542, allocations: 117.8 kB / 1.288 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.137e-05/0.4543, allocations: 11.89 kB / 1.288 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000227/0.4545, allocations: 68.95 kB / 1.288 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.4545, allocations: 8.031 kB / 1.288 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.4545, allocations: 0 / 1.288 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.4545, allocations: 0 / 1.288 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/0.4547, allocations: 128.7 kB / 1.288 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4547, allocations: 0 / 1.288 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.679e-05/0.4547, allocations: 11.98 kB / 1.288 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.4547, allocations: 0 / 1.288 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.4548, allocations: 0 / 1.288 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.4548, allocations: 4 kB / 1.288 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.4548, allocations: 3.938 kB / 1.288 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002794/0.455, allocations: 171.4 kB / 1.288 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.137e-06/0.455, allocations: 4 kB / 1.288 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.4551, allocations: 0 / 1.288 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.332e-05/0.4551, allocations: 7.984 kB / 1.288 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.59e-05/0.4552, allocations: 0 / 1.288 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-06/0.4552, allocations: 0 / 1.288 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.339e-05/0.4552, allocations: 83.47 kB / 1.288 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.4552, allocations: 0 / 1.288 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002486/0.4555, allocations: 19.92 kB / 1.288 GB, free: 14.88 MB / 0.9981 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.0006942/0.4562, allocations: 0.7047 MB / 1.289 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002204/0.4564, allocations: 39.95 kB / 1.289 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4564, allocations: 8.031 kB / 1.289 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.603e-05/0.4565, allocations: 19.98 kB / 1.289 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.4568, allocations: 4.391 kB / 1.289 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004816/0.4573, allocations: 147 kB / 1.289 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.877e-05/0.4574, allocations: 67.33 kB / 1.289 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.232e-05/0.4574, allocations: 0 / 1.289 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.635e-05/0.4574, allocations: 15.38 kB / 1.289 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of SimCode: time 3.11e-07/0.4574, allocations: 4.062 kB / 1.289 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02347/0.4809, allocations: 1.695 MB / 1.291 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.89, allocations: 6.703 kB / 1.291 GB, free: 12.24 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --stepSize=0.001196 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_ExponentialIntegralE1.fmu > Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.82027504092548]