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.00133/0.00133, allocations: 118.1 kB / 17.16 MB, free: 5.895 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.001527/0.001527, allocations: 212 kB / 20.13 MB, free: 2.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.54/1.54, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.823/2.823, allocations: 476.7 MB / 0.7678 GB, free: 9.348 MB / 0.6075 GB " [Timeout remaining time 177] 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.002058/0.002058, allocations: 73.61 kB / 1.113 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9906/0.9927, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002906/0.9956, allocations: 1.454 MB / 1.28 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0004397/0.996, allocations: 164.1 kB / 1.281 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.378e-05/0.996, allocations: 0.75 kB / 1.281 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.698e-05/0.9961, allocations: 0 / 1.281 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.562e-05/0.9961, allocations: 5.422 kB / 1.281 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002926/0.9964, allocations: 37.84 kB / 1.281 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.061e-05/0.9965, allocations: 27.8 kB / 1.281 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.439e-05/0.9966, allocations: 3.328 kB / 1.281 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4e-05/0.9966, allocations: 13.61 kB / 1.281 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.798e-05/0.9966, allocations: 9.109 kB / 1.281 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.9966, allocations: 6.219 kB / 1.281 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.9968, allocations: 43.92 kB / 1.281 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.584e-05/0.9968, allocations: 6.422 kB / 1.281 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.833e-05/0.9968, allocations: 10.86 kB / 1.281 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.997, allocations: 43.66 kB / 1.281 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.997, allocations: 4 kB / 1.281 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.774e-06/0.997, allocations: 0 / 1.281 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.997, allocations: 1.094 kB / 1.281 GB, free: 10.53 MB / 0.9981 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.0005258/0.9975, allocations: 341.7 kB / 1.281 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.9976, allocations: 14.84 kB / 1.281 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.08e-05/0.9976, allocations: 4.172 kB / 1.281 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.545e-05/0.9976, allocations: 35.84 kB / 1.281 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.813e-05/0.9977, allocations: 2.75 kB / 1.281 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.9978, allocations: 167.9 kB / 1.281 GB, free: 9.914 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.9978, allocations: 1.594 kB / 1.281 GB, free: 9.914 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.9978, allocations: 9.234 kB / 1.281 GB, free: 9.906 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.998, allocations: 52.2 kB / 1.281 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.998, allocations: 0 / 1.281 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.998, allocations: 1.891 kB / 1.281 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.9981, allocations: 0.7812 kB / 1.281 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001908/0.9982, allocations: 32.25 kB / 1.281 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003686/0.9986, allocations: 258.2 kB / 1.282 GB, free: 9.578 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001379/0.9988, allocations: 40.08 kB / 1.282 GB, free: 9.547 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.243e-05/0.9988, allocations: 23.22 kB / 1.282 GB, free: 9.535 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001869/0.999, allocations: 84.81 kB / 1.282 GB, free: 9.441 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.9991, allocations: 36.33 kB / 1.282 GB, free: 9.398 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.9991, allocations: 0 / 1.282 GB, free: 9.398 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003835/0.9994, allocations: 79.64 kB / 1.282 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.9995, allocations: 56.47 kB / 1.282 GB, free: 9.293 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.712e-05/0.9996, allocations: 100.1 kB / 1.282 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.9996, allocations: 27.58 kB / 1.282 GB, free: 9.16 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.862e-05/0.9996, allocations: 89.94 kB / 1.282 GB, free: 9.07 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.9997, allocations: 4.953 kB / 1.282 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/0.9997, allocations: 12.41 kB / 1.282 GB, free: 9.051 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.9998, allocations: 317.1 kB / 1.282 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.972e-05/0.9999, allocations: 14.45 kB / 1.282 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.98e-05/1, allocations: 18.33 kB / 1.282 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000163/1, allocations: 45.67 kB / 1.283 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/1, allocations: 0 / 1.283 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002182/1, allocations: 63.14 kB / 1.283 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/1, allocations: 5.594 kB / 1.283 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/1, allocations: 3.938 kB / 1.283 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/1, allocations: 1.156 kB / 1.283 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.654e-05/1.001, allocations: 12.8 kB / 1.283 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/1.001, allocations: 1.062 kB / 1.283 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.067e-05/1.001, allocations: 13.8 kB / 1.283 GB, free: 8.66 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/1.001, allocations: 1.125 kB / 1.283 GB, free: 8.66 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.012e-05/1.001, allocations: 117.3 kB / 1.283 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.865e-05/1.001, allocations: 6.75 kB / 1.283 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000249/1.001, allocations: 69.77 kB / 1.283 GB, free: 8.488 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/1.001, allocations: 1.031 kB / 1.283 GB, free: 8.488 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/1.001, allocations: 0.6094 kB / 1.283 GB, free: 8.488 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/1.001, allocations: 0.5 kB / 1.283 GB, free: 8.488 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/1.001, allocations: 163.5 kB / 1.283 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/1.001, allocations: 1.141 kB / 1.283 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.996e-05/1.001, allocations: 12.73 kB / 1.283 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/1.001, allocations: 0.5938 kB / 1.283 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/1.001, allocations: 0.5 kB / 1.283 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/1.001, allocations: 1.156 kB / 1.283 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/1.001, allocations: 4.594 kB / 1.283 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002813/1.002, allocations: 162.5 kB / 1.283 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.657e-05/1.002, allocations: 78.47 kB / 1.283 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/1.002, allocations: 1.734 kB / 1.283 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.029e-05/1.002, allocations: 6.375 kB / 1.283 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.53e-05/1.002, allocations: 10.27 kB / 1.283 GB, free: 8.039 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/1.002, allocations: 1.156 kB / 1.283 GB, free: 8.039 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.675e-05/1.002, allocations: 84.06 kB / 1.283 GB, free: 7.961 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.002, allocations: 0 / 1.283 GB, free: 7.961 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002675/1.002, allocations: 10.94 kB / 1.283 GB, free: 7.961 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.0007407/1.003, allocations: 0.7194 MB / 1.284 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002405/1.003, allocations: 35 kB / 1.284 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/1.003, allocations: 0.5312 kB / 1.284 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001062/1.003, allocations: 28.34 kB / 1.284 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/1.003, allocations: 2.828 kB / 1.284 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004638/1.004, allocations: 137.8 kB / 1.284 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/1.004, allocations: 0.6801 MB / 1.285 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.215e-05/1.004, allocations: 1.219 kB / 1.285 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.324e-05/1.004, allocations: 18.02 kB / 1.285 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of SimCode: time 3.1e-07/1.004, allocations: 0 / 1.285 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0186/1.023, allocations: 1.572 MB / 1.286 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.595/9.617, allocations: 3.969 kB / 1.286 GB, free: 5.98 MB / 0.9981 GB " [Timeout remaining time 290] (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: 15.870983459986746]