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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001836/0.001836, allocations: 114.7 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00233/0.00233, allocations: 189.9 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.782/2.782, allocations: 476.7 MB / 0.7629 GB, free: 15.13 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 67.89 kB / 1.107 GB, free: 5.043 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9642/0.9662, allocations: 168.7 MB / 1.272 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002268/0.9685, allocations: 1.448 MB / 1.273 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003827/0.9689, allocations: 164.1 kB / 1.273 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.209e-05/0.9689, allocations: 0 / 1.273 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.152e-05/0.9689, allocations: 1.062 kB / 1.273 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.182e-05/0.969, allocations: 4.453 kB / 1.273 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002645/0.9692, allocations: 42.11 kB / 1.273 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.256e-05/0.9693, allocations: 26.08 kB / 1.273 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.063e-05/0.9694, allocations: 7.453 kB / 1.273 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.967e-05/0.9694, allocations: 12.77 kB / 1.273 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.757e-05/0.9694, allocations: 10.05 kB / 1.273 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.9694, allocations: 1.719 kB / 1.273 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.9696, allocations: 43.89 kB / 1.273 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.748e-06/0.9696, allocations: 2.266 kB / 1.273 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.838e-05/0.9696, allocations: 10.31 kB / 1.273 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001295/0.9697, allocations: 56.17 kB / 1.273 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.9697, allocations: 0 / 1.273 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9697, allocations: 4.656 kB / 1.273 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.448e-06/0.9697, allocations: 0 / 1.273 GB, free: 6.477 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.0003383/0.9701, allocations: 342.8 kB / 1.274 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.9701, allocations: 9.688 kB / 1.274 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.166e-05/0.9701, allocations: 35.34 kB / 1.274 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.773e-05/0.9702, allocations: 6.266 kB / 1.274 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.867e-05/0.9702, allocations: 164.2 kB / 1.274 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.9703, allocations: 1.156 kB / 1.274 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-06/0.9703, allocations: 1.094 kB / 1.274 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.9704, allocations: 53.58 kB / 1.274 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.9704, allocations: 4.781 kB / 1.274 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.392e-06/0.9704, allocations: 0 / 1.274 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.9704, allocations: 0.9375 kB / 1.274 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000162/0.9706, allocations: 37.09 kB / 1.274 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002169/0.9708, allocations: 251.2 kB / 1.274 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.9709, allocations: 42.91 kB / 1.274 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.907e-05/0.971, allocations: 20.36 kB / 1.274 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001362/0.9712, allocations: 83.16 kB / 1.274 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.649e-05/0.9712, allocations: 35.78 kB / 1.274 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.9712, allocations: 0.7188 kB / 1.274 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003471/0.9715, allocations: 89.14 kB / 1.274 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.517e-05/0.9715, allocations: 51.41 kB / 1.274 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.385e-05/0.9716, allocations: 102.6 kB / 1.275 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.223e-06/0.9716, allocations: 26.95 kB / 1.275 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.928e-05/0.9716, allocations: 80.14 kB / 1.275 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.39e-05/0.9716, allocations: 9.734 kB / 1.275 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.543e-05/0.9717, allocations: 12 kB / 1.275 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.541e-05/0.9717, allocations: 317.4 kB / 1.275 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.882e-05/0.9718, allocations: 18.45 kB / 1.275 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.918e-05/0.9718, allocations: 14.78 kB / 1.275 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.972, allocations: 36.34 kB / 1.275 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.972, allocations: 8 kB / 1.275 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001924/0.9722, allocations: 75.5 kB / 1.275 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.9722, allocations: 4.562 kB / 1.275 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.9722, allocations: 1.953 kB / 1.275 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.9722, allocations: 0 / 1.275 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.3e-05/0.9723, allocations: 9.562 kB / 1.275 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.878e-06/0.9723, allocations: 0 / 1.275 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.512e-05/0.9723, allocations: 10.89 kB / 1.275 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.9723, allocations: 4.656 kB / 1.275 GB, free: 4.621 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 3.822e-05/0.9724, allocations: 112 kB / 1.275 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.567e-05/0.9724, allocations: 1.656 kB / 1.275 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002071/0.9726, allocations: 80.77 kB / 1.275 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.9726, allocations: 0 / 1.275 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.9726, allocations: 0 / 1.275 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.9726, allocations: 1.031 kB / 1.275 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001019/0.9727, allocations: 163.6 kB / 1.276 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.9727, allocations: 1.188 kB / 1.276 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.429e-05/0.9728, allocations: 8.516 kB / 1.276 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.9728, allocations: 3.938 kB / 1.276 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.9728, allocations: 1.125 kB / 1.276 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.9728, allocations: 0 / 1.276 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.9728, allocations: 4.953 kB / 1.276 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002077/0.973, allocations: 170.4 kB / 1.276 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.376e-05/0.973, allocations: 78.98 kB / 1.276 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.973, allocations: 0.75 kB / 1.276 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.295e-05/0.9731, allocations: 10.86 kB / 1.276 GB, free: 4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.252e-05/0.9731, allocations: 1.438 kB / 1.276 GB, free: 4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.9731, allocations: 1.156 kB / 1.276 GB, free: 4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.049e-05/0.9731, allocations: 84.56 kB / 1.276 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.9731, allocations: 4.031 kB / 1.276 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002377/0.9734, allocations: 10.25 kB / 1.276 GB, free: 3.918 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.0004244/0.9738, allocations: 0.7121 MB / 1.277 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002231/0.974, allocations: 39.92 kB / 1.277 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.974, allocations: 0 / 1.277 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.3e-05/0.9741, allocations: 16.23 kB / 1.277 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.9744, allocations: 6.344 kB / 1.277 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003628/0.9747, allocations: 149.5 kB / 1.277 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.057e-05/0.9748, allocations: 0.6758 MB / 1.277 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.105e-05/0.9748, allocations: 0.875 kB / 1.277 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.621e-05/0.9749, allocations: 13.03 kB / 1.277 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of SimCode: time 2.7e-07/0.9749, allocations: 0 / 1.277 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02531/1, allocations: 1.499 MB / 1.279 GB, free: 17.98 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.309/9.309, allocations: 2.062 kB / 1.279 GB, free: 17.98 MB / 1.014 GB " [Timeout remaining time 291] (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 --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_2/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.325297164003132]