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.001395/0.001395, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001644/0.001644, allocations: 215.7 kB / 22.26 MB, free: 5.125 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.512/1.512, allocations: 230.6 MB / 256 MB, free: 7.984 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.852/2.852, allocations: 476.7 MB / 0.7707 GB, free: 4.281 MB / 0.6231 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_11_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.001989/0.001989, allocations: 65.42 kB / 1.117 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3437, allocations: 170 MB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002766/0.3465, allocations: 1.472 MB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004491/0.347, allocations: 155.5 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.89e-05/0.347, allocations: 0 / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.339e-05/0.347, allocations: 3.938 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.983e-05/0.3471, allocations: 7.938 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003468/0.3474, allocations: 39.83 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.955e-05/0.3475, allocations: 16 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.3476, allocations: 19.91 kB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.186e-05/0.3476, allocations: 12 kB / 1.285 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.06e-05/0.3477, allocations: 11.92 kB / 1.285 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.3477, allocations: 4 kB / 1.285 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001605/0.3478, allocations: 35.97 kB / 1.285 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.874e-05/0.3479, allocations: 7.984 kB / 1.285 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.289e-05/0.3479, allocations: 7.938 kB / 1.285 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001962/0.3481, allocations: 51.33 kB / 1.285 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 1.109e-05/0.3481, allocations: 3.984 kB / 1.285 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.695e-06/0.3481, allocations: 0 / 1.285 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.548e-05/0.3481, allocations: 4 kB / 1.285 GB, free: 9.867 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.0006807/0.3488, allocations: 266.3 kB / 1.285 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 7.122e-05/0.3489, allocations: 15.97 kB / 1.285 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.638e-05/0.349, allocations: 30.75 kB / 1.285 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.186e-05/0.349, allocations: 0.9375 kB / 1.285 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002047/0.3492, allocations: 110.5 kB / 1.286 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.3493, allocations: 384 / 1.286 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.3493, allocations: 384 / 1.286 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002409/0.3495, allocations: 50.23 kB / 1.286 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.3495, allocations: 11.88 kB / 1.286 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.3496, allocations: 0 / 1.286 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.888e-06/0.3496, allocations: 4 kB / 1.286 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001907/0.3498, allocations: 35.94 kB / 1.286 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000569/0.3503, allocations: 220 kB / 1.286 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001756/0.3505, allocations: 42.5 kB / 1.286 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001336/0.3506, allocations: 24.89 kB / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002077/0.3508, allocations: 11.98 kB / 1.286 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.089e-05/0.3509, allocations: 34.5 kB / 1.286 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.3509, allocations: 0 / 1.286 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0005274/0.3514, allocations: 81.64 kB / 1.286 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.314e-05/0.3515, allocations: 51.41 kB / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.3516, allocations: 97.86 kB / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/0.3516, allocations: 25.7 kB / 1.286 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.716e-05/0.3517, allocations: 88.12 kB / 1.286 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.457e-05/0.3518, allocations: 7.953 kB / 1.286 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.486e-05/0.3518, allocations: 13.7 kB / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002425/0.352, allocations: 322.9 kB / 1.287 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.783e-05/0.3521, allocations: 15.98 kB / 1.287 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.032e-05/0.3522, allocations: 15.92 kB / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.3524, allocations: 44.81 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.3524, allocations: 3.938 kB / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002562/0.3526, allocations: 69.72 kB / 1.287 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/0.3527, allocations: 6.188 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.3527, allocations: 0 / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.84e-05/0.3527, allocations: 0 / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.3529, allocations: 8 kB / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.3529, allocations: 0 / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.277e-05/0.3529, allocations: 7.984 kB / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.3529, allocations: 0 / 1.287 GB, free: 7.988 MB / 0.9825 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 0.0001246/0.3531, allocations: 117.8 kB / 1.287 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.896e-05/0.3531, allocations: 7.953 kB / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000267/0.3534, allocations: 72.95 kB / 1.287 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.3534, allocations: 0 / 1.287 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.3534, allocations: 4 kB / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.696e-06/0.3534, allocations: 3.938 kB / 1.287 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000249/0.3536, allocations: 132.7 kB / 1.287 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.3536, allocations: 4.031 kB / 1.287 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.677e-05/0.3537, allocations: 7.984 kB / 1.287 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.3537, allocations: 0 / 1.287 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.3537, allocations: 4 kB / 1.287 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.3537, allocations: 0 / 1.287 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3537, allocations: 0 / 1.287 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002949/0.354, allocations: 171.4 kB / 1.287 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.025e-06/0.354, allocations: 0 / 1.287 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.354, allocations: 0 / 1.287 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.462e-05/0.3541, allocations: 7.984 kB / 1.287 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.3541, allocations: 0 / 1.287 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.3542, allocations: 4 kB / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.322e-05/0.3542, allocations: 83.27 kB / 1.287 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3542, allocations: 0 / 1.287 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00027/0.3545, allocations: 15.94 kB / 1.287 GB, free: 7.293 MB / 0.9825 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.0006804/0.3551, allocations: 0.7084 MB / 1.288 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002074/0.3554, allocations: 43.98 kB / 1.288 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3554, allocations: 0 / 1.288 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.313e-05/0.3554, allocations: 19.98 kB / 1.288 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.3557, allocations: 0 / 1.288 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005499/0.3563, allocations: 147.2 kB / 1.288 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004561/0.3567, allocations: 0.6768 MB / 1.289 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.215e-05/0.3568, allocations: 7.922 kB / 1.289 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.546e-05/0.3568, allocations: 11.44 kB / 1.289 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.3568, allocations: 0 / 1.289 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02924/0.386, allocations: 1.617 MB / 1.291 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.24, allocations: 7.391 kB / 1.291 GB, free: 4.098 MB / 0.9825 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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.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_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.csv","/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.17359755399957]