Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) 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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_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.006979/0.006979, allocations: 106.5 kB / 15.74 MB, free: 6.449 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.001622/0.001622, allocations: 197 kB / 16.67 MB, free: 6.355 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.463/1.463, allocations: 222.9 MB / 240.4 MB, free: 4.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.467/2.467, allocations: 390.3 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 64.19 kB / 0.9504 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.3012, allocations: 140.4 MB / 1.087 GB, free: 1.992 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.00299/0.3042, allocations: 1.438 MB / 1.089 GB, free: 0.543 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000478/0.3047, allocations: 160.4 kB / 1.089 GB, free: 392 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.825e-05/0.3048, allocations: 0 / 1.089 GB, free: 392 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.181e-05/0.3048, allocations: 3.938 kB / 1.089 GB, free: 388 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.527e-05/0.3049, allocations: 3.938 kB / 1.089 GB, free: 384 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003489/0.3052, allocations: 31.91 kB / 1.089 GB, free: 352 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.023e-05/0.3053, allocations: 31.86 kB / 1.089 GB, free: 320 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.696e-05/0.3054, allocations: 7.984 kB / 1.089 GB, free: 312 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.153e-05/0.3055, allocations: 4 kB / 1.089 GB, free: 308 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.211e-05/0.3055, allocations: 15.92 kB / 1.089 GB, free: 292 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.3056, allocations: 4 kB / 1.089 GB, free: 288 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001447/0.3057, allocations: 35.97 kB / 1.089 GB, free: 252 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.363e-05/0.3057, allocations: 4 kB / 1.089 GB, free: 248 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.161e-05/0.3058, allocations: 11.92 kB / 1.089 GB, free: 236 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.3059, allocations: 43.88 kB / 1.089 GB, free: 192 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.306, allocations: 8 kB / 1.089 GB, free: 184 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.453e-06/0.306, allocations: 0 / 1.089 GB, free: 184 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.809e-06/0.306, allocations: 0 / 1.089 GB, free: 184 kB / 0.8419 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.000497/0.3065, allocations: 342.3 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.3065, allocations: 8.031 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.435e-05/0.3066, allocations: 34.75 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.706e-05/0.3066, allocations: 8.844 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.3068, allocations: 164.4 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.3068, allocations: 384 / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.3068, allocations: 4.375 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.307, allocations: 50.23 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.307, allocations: 7.875 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-06/0.307, allocations: 0 / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.307, allocations: 4 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001739/0.3072, allocations: 31.95 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003478/0.3076, allocations: 249 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.3077, allocations: 38.5 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.324e-05/0.3078, allocations: 24.91 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001929/0.308, allocations: 93.02 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.3081, allocations: 34.5 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.3081, allocations: 4 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003929/0.3085, allocations: 81.64 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.3085, allocations: 51.41 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.327e-05/0.3086, allocations: 101.8 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.3086, allocations: 25.7 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.579e-05/0.3087, allocations: 88.05 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.559e-05/0.3087, allocations: 4.969 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.543e-05/0.3088, allocations: 13.72 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.3089, allocations: 318.8 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.286e-05/0.309, allocations: 11.98 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.758e-05/0.309, allocations: 19.92 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.3092, allocations: 44.88 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.3092, allocations: 3.938 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002394/0.3095, allocations: 65.58 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.3095, allocations: 4 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.3095, allocations: 4 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.3095, allocations: 0 / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.431e-05/0.3096, allocations: 15.92 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.3096, allocations: 4.031 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.256e-05/0.3097, allocations: 11.92 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.451e-06/0.3097, allocations: 0 / 1.091 GB, free: 14 MB / 0.8575 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 7.657e-05/0.3098, allocations: 117.7 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.117e-05/0.3098, allocations: 4 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002406/0.3101, allocations: 68.78 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.3101, allocations: 32 / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3101, allocations: 4 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.3101, allocations: 7.984 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000169/0.3103, allocations: 157.6 kB / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3103, allocations: 0 / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.885e-05/0.3104, allocations: 7.984 kB / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.3104, allocations: 0 / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.3104, allocations: 0 / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.3104, allocations: 4 kB / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3104, allocations: 0 / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002655/0.3107, allocations: 167.4 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.011e-05/0.3107, allocations: 81.02 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.3107, allocations: 0 / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.875e-05/0.3108, allocations: 11.98 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.588e-05/0.3109, allocations: 0 / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.3109, allocations: 0 / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.486e-05/0.3109, allocations: 87.25 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3109, allocations: 0 / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002469/0.3112, allocations: 15.98 kB / 1.092 GB, free: 13.18 MB / 0.8575 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.0006327/0.3118, allocations: 0.7085 MB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002379/0.3121, allocations: 39.95 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.3121, allocations: 0 / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.175e-05/0.3122, allocations: 15.98 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.3125, allocations: 8.125 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004431/0.3129, allocations: 139.3 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/0.3132, allocations: 0.6806 MB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.547e-05/0.3132, allocations: 3.938 kB / 1.093 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.682e-05/0.3132, allocations: 11.44 kB / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.3132, allocations: 0 / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01807/0.3313, allocations: 1.521 MB / 1.095 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.319/7.65, allocations: 8 kB / 1.095 GB, free: 10.05 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_ExponentialIntegralE1.fmu > Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches