Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001918/0.001918, allocations: 111 kB / 16.46 MB, free: 6.453 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.002226/0.002226, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.576/1.576, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.339/3.339, allocations: 0.49 GB / 0.7916 GB, free: 33.56 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.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_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.002133/0.002133, allocations: 70.09 kB / 1.149 GB, free: 26.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3708/0.373, allocations: 176.1 MB / 1.321 GB, free: 3.309 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.003286/0.3763, allocations: 1.45 MB / 1.322 GB, free: 1.848 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0005243/0.3768, allocations: 164 kB / 1.322 GB, free: 1.688 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.73e-05/0.3768, allocations: 0 / 1.322 GB, free: 1.688 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.813e-05/0.3769, allocations: 7.938 kB / 1.322 GB, free: 1.68 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.455e-05/0.3769, allocations: 0 / 1.322 GB, free: 1.68 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004033/0.3773, allocations: 43.83 kB / 1.322 GB, free: 1.637 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.05e-05/0.3774, allocations: 19.92 kB / 1.322 GB, free: 1.617 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.3775, allocations: 11.92 kB / 1.322 GB, free: 1.605 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.331e-05/0.3775, allocations: 4 kB / 1.322 GB, free: 1.602 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.842e-05/0.3776, allocations: 15.92 kB / 1.322 GB, free: 1.586 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.3776, allocations: 0 / 1.322 GB, free: 1.586 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001672/0.3778, allocations: 39.95 kB / 1.323 GB, free: 1.547 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.735e-05/0.3778, allocations: 4 kB / 1.323 GB, free: 1.543 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.471e-05/0.3778, allocations: 19.92 kB / 1.323 GB, free: 1.523 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.378, allocations: 48.09 kB / 1.323 GB, free: 1.477 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.378, allocations: 3.938 kB / 1.323 GB, free: 1.473 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.423e-06/0.378, allocations: 0 / 1.323 GB, free: 1.473 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.513e-06/0.378, allocations: 0 / 1.323 GB, free: 1.473 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005607/0.3786, allocations: 343.4 kB / 1.323 GB, free: 1.086 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.3786, allocations: 11.98 kB / 1.323 GB, free: 1.074 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.944e-05/0.3787, allocations: 30.75 kB / 1.323 GB, free: 1.035 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.254e-05/0.3788, allocations: 4.938 kB / 1.323 GB, free: 1.031 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.3789, allocations: 176.3 kB / 1.323 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.3789, allocations: 384 / 1.323 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.379, allocations: 4.375 kB / 1.323 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/0.3792, allocations: 50.23 kB / 1.323 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.3792, allocations: 11.86 kB / 1.323 GB, free: 0.75 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.3792, allocations: 4 kB / 1.323 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.3792, allocations: 0 / 1.323 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001853/0.3794, allocations: 27.97 kB / 1.323 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004166/0.3798, allocations: 249 kB / 1.323 GB, free: 436 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001461/0.3799, allocations: 42.44 kB / 1.324 GB, free: 384 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.38, allocations: 24.91 kB / 1.324 GB, free: 356 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001962/0.3802, allocations: 85.09 kB / 1.324 GB, free: 252 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.3803, allocations: 38.5 kB / 1.324 GB, free: 204 kB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.3803, allocations: 0 / 1.324 GB, free: 204 kB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0004245/0.3807, allocations: 81.64 kB / 1.324 GB, free: 116 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.3807, allocations: 51.41 kB / 1.324 GB, free: 52 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.3809, allocations: 101.8 kB / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.3809, allocations: 29.83 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.664e-05/0.3809, allocations: 80.14 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.381, allocations: 7.953 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.236e-05/0.381, allocations: 13.72 kB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.3812, allocations: 318.8 kB / 1.324 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.285e-05/0.3812, allocations: 15.98 kB / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.788e-05/0.3813, allocations: 15.92 kB / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/0.3815, allocations: 44.88 kB / 1.324 GB, free: 15.4 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.3815, allocations: 3.938 kB / 1.324 GB, free: 15.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000222/0.3817, allocations: 61.67 kB / 1.324 GB, free: 15.33 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.3817, allocations: 7.938 kB / 1.324 GB, free: 15.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.3817, allocations: 0 / 1.324 GB, free: 15.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.3818, allocations: 0 / 1.324 GB, free: 15.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.725e-05/0.3818, allocations: 16.02 kB / 1.324 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.3818, allocations: 0 / 1.324 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.492e-05/0.3819, allocations: 11.98 kB / 1.324 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-06/0.3819, allocations: 0 / 1.324 GB, free: 15.29 MB / 1.029 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 8.401e-05/0.382, allocations: 113.7 kB / 1.325 GB, free: 15.17 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.015e-05/0.382, allocations: 7.953 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002403/0.3823, allocations: 72.78 kB / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3823, allocations: 0 / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3823, allocations: 0 / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.3823, allocations: 3.984 kB / 1.325 GB, free: 15.08 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.3825, allocations: 157.6 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3825, allocations: 4 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.045e-05/0.3825, allocations: 7.984 kB / 1.325 GB, free: 14.87 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3825, allocations: 0 / 1.325 GB, free: 14.87 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.3825, allocations: 0 / 1.325 GB, free: 14.87 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.3825, allocations: 0 / 1.325 GB, free: 14.87 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3825, allocations: 12.02 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002887/0.3828, allocations: 163.4 kB / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.632e-05/0.3829, allocations: 81.11 kB / 1.325 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.3829, allocations: 0 / 1.325 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.226e-05/0.383, allocations: 11.98 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.237e-05/0.383, allocations: 7.969 kB / 1.325 GB, free: 14.56 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.383, allocations: 0 / 1.325 GB, free: 14.56 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.362e-05/0.3831, allocations: 79.47 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3831, allocations: 0 / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002536/0.3833, allocations: 19.92 kB / 1.325 GB, free: 14.46 MB / 1.029 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.0007009/0.384, allocations: 0.7162 MB / 1.326 GB, free: 13.72 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002363/0.3842, allocations: 35.95 kB / 1.326 GB, free: 13.68 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3842, allocations: 0 / 1.326 GB, free: 13.68 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.589e-05/0.3843, allocations: 20.08 kB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.3846, allocations: 1.891 kB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004615/0.3851, allocations: 154.9 kB / 1.326 GB, free: 13.47 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.3854, allocations: 0.6769 MB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.337e-05/0.3854, allocations: 3.938 kB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.327e-05/0.3855, allocations: 7.438 kB / 1.327 GB, free: 12.76 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.3855, allocations: 0 / 1.327 GB, free: 12.76 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02655/0.412, allocations: 1.525 MB / 1.328 GB, free: 11.33 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.944/8.356, allocations: 3.938 kB / 1.328 GB, free: 11.32 MB / 1.029 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --stepSize=0.001196 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Examples_ExponentialIntegralE1.fmu > Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.366423559142277]