Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006907/0.006907, allocations: 99.27 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001788/0.001789, allocations: 193.5 kB / 16.67 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.735/2.735, allocations: 437.1 MB / 0.7105 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 59.91 kB / 1.018 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.308, allocations: 151.6 MB / 1.166 GB, free: 7.238 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001676/0.3097, allocations: 0.5753 MB / 1.167 GB, free: 6.664 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0003418/0.3101, allocations: 99.64 kB / 1.167 GB, free: 6.566 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.169e-05/0.3101, allocations: 0 / 1.167 GB, free: 6.566 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.561e-05/0.3101, allocations: 0 / 1.167 GB, free: 6.566 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.829e-06/0.3101, allocations: 0 / 1.167 GB, free: 6.566 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002902/0.3104, allocations: 44.11 kB / 1.167 GB, free: 6.523 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 3.883e-05/0.3105, allocations: 7.938 kB / 1.167 GB, free: 6.516 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.01e-05/0.3105, allocations: 4 kB / 1.167 GB, free: 6.512 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.101e-05/0.3105, allocations: 0 / 1.167 GB, free: 6.512 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 1.333e-05/0.3105, allocations: 0 / 1.167 GB, free: 6.512 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.813e-06/0.3106, allocations: 0 / 1.167 GB, free: 6.512 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001519/0.3107, allocations: 39.95 kB / 1.167 GB, free: 6.473 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.773e-06/0.3107, allocations: 4 kB / 1.167 GB, free: 6.469 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.19e-05/0.3107, allocations: 0 / 1.167 GB, free: 6.469 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.3109, allocations: 28.19 kB / 1.167 GB, free: 6.441 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.3109, allocations: 0 / 1.167 GB, free: 6.441 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.213e-06/0.3109, allocations: 0 / 1.167 GB, free: 6.441 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.046e-06/0.3109, allocations: 0 / 1.167 GB, free: 6.441 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003261/0.3112, allocations: 323.5 kB / 1.167 GB, free: 6.074 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.3113, allocations: 8.031 kB / 1.167 GB, free: 6.066 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.915e-05/0.3113, allocations: 34.75 kB / 1.167 GB, free: 6.023 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.702e-05/0.3113, allocations: 8.938 kB / 1.167 GB, free: 6.016 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.3115, allocations: 160.4 kB / 1.168 GB, free: 5.82 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.3115, allocations: 384 / 1.168 GB, free: 5.82 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.3115, allocations: 4.359 kB / 1.168 GB, free: 5.816 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.817e-05/0.3116, allocations: 34.2 kB / 1.168 GB, free: 5.777 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.3116, allocations: 7.938 kB / 1.168 GB, free: 5.77 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.821e-06/0.3116, allocations: 4 kB / 1.168 GB, free: 5.766 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.3116, allocations: 0 / 1.168 GB, free: 5.766 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.689e-05/0.3116, allocations: 3.938 kB / 1.168 GB, free: 5.762 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001408/0.3118, allocations: 141.7 kB / 1.168 GB, free: 5.574 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 4.951e-05/0.3118, allocations: 22.61 kB / 1.168 GB, free: 5.543 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.476e-05/0.3119, allocations: 4.859 kB / 1.168 GB, free: 5.535 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001944/0.3121, allocations: 89.14 kB / 1.168 GB, free: 5.43 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.3121, allocations: 38.55 kB / 1.168 GB, free: 5.383 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.3121, allocations: 0 / 1.168 GB, free: 5.383 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001367/0.3122, allocations: 49.53 kB / 1.168 GB, free: 5.328 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/0.3123, allocations: 51.41 kB / 1.168 GB, free: 5.266 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.468e-05/0.3124, allocations: 89.86 kB / 1.168 GB, free: 5.168 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.3124, allocations: 25.7 kB / 1.168 GB, free: 5.137 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.256e-05/0.3124, allocations: 80.14 kB / 1.168 GB, free: 5.055 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/0.3124, allocations: 0 / 1.168 GB, free: 5.055 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.709e-05/0.3125, allocations: 17.84 kB / 1.168 GB, free: 5.031 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.3126, allocations: 310.8 kB / 1.168 GB, free: 4.719 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.855e-06/0.3126, allocations: 0 / 1.168 GB, free: 4.719 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.524e-06/0.3126, allocations: 3.984 kB / 1.168 GB, free: 4.715 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.26e-05/0.3127, allocations: 16.8 kB / 1.168 GB, free: 4.695 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3127, allocations: 0 / 1.168 GB, free: 4.695 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.595e-05/0.3128, allocations: 33.64 kB / 1.168 GB, free: 4.656 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.3128, allocations: 8.094 kB / 1.169 GB, free: 4.648 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.3128, allocations: 7.938 kB / 1.169 GB, free: 4.641 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.3128, allocations: 0 / 1.169 GB, free: 4.641 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.137e-05/0.3128, allocations: 0 / 1.169 GB, free: 4.641 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.3129, allocations: 0 / 1.169 GB, free: 4.641 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.228e-06/0.3129, allocations: 0 / 1.169 GB, free: 4.641 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.096e-06/0.3129, allocations: 4 kB / 1.169 GB, free: 4.637 MB / 0.92 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 (1): * Single equations (assignments): 1 * 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 7.931e-05/0.313, allocations: 109.8 kB / 1.169 GB, free: 4.52 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.876e-05/0.313, allocations: 0 / 1.169 GB, free: 4.52 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.768e-05/0.3131, allocations: 48.7 kB / 1.169 GB, free: 4.465 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.3131, allocations: 0 / 1.169 GB, free: 4.465 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3131, allocations: 0 / 1.169 GB, free: 4.465 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-06/0.3131, allocations: 3.938 kB / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.3132, allocations: 149.7 kB / 1.169 GB, free: 4.266 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3132, allocations: 0 / 1.169 GB, free: 4.266 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.137e-05/0.3132, allocations: 0 / 1.169 GB, free: 4.266 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.3133, allocations: 3.984 kB / 1.169 GB, free: 4.262 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.3133, allocations: 7.938 kB / 1.169 GB, free: 4.254 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.3133, allocations: 4 kB / 1.169 GB, free: 4.25 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.3133, allocations: 0 / 1.169 GB, free: 4.25 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.404e-05/0.3134, allocations: 61.16 kB / 1.169 GB, free: 4.172 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.028e-05/0.3134, allocations: 77.11 kB / 1.169 GB, free: 4.078 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.3134, allocations: 7.938 kB / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.013e-06/0.3135, allocations: 0 / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.915e-06/0.3135, allocations: 0 / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-06/0.3135, allocations: 0 / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.486e-05/0.3135, allocations: 79.22 kB / 1.169 GB, free: 3.992 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3135, allocations: 4.031 kB / 1.169 GB, free: 3.988 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002012/0.3137, allocations: 11.94 kB / 1.169 GB, free: 3.977 MB / 0.92 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 (1): * Single equations (assignments): 1 * 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.0004803/0.3142, allocations: 0.6086 MB / 1.17 GB, free: 3.336 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 6.312e-05/0.3143, allocations: 4 kB / 1.17 GB, free: 3.332 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3143, allocations: 0 / 1.17 GB, free: 3.332 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.184e-05/0.3143, allocations: 11.94 kB / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001341/0.3144, allocations: 0 / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002648/0.3147, allocations: 106.5 kB / 1.17 GB, free: 3.176 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.315, allocations: 0.669 MB / 1.17 GB, free: 2.48 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 1.14e-05/0.3151, allocations: 7.922 kB / 1.17 GB, free: 2.473 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.296e-05/0.3151, allocations: 11.56 kB / 1.17 GB, free: 2.461 MB / 0.92 GB Notification: Performance of SimCode: time 2.6e-07/0.3151, allocations: 4 kB / 1.17 GB, free: 2.457 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02172/0.3368, allocations: 1.141 MB / 1.172 GB, free: 1.43 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.175/8.512, allocations: 2.531 kB / 1.172 GB, free: 1.43 MB / 0.92 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.csv --start-time 0.01 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001196 Buildings_10_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches