Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_9_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.00585/0.00585, allocations: 99.52 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.001313/0.001313, allocations: 201 kB / 16.68 MB, free: 5.965 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.401/2.401, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 63.3 kB / 0.9504 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.286, allocations: 140.4 MB / 1.088 GB, free: 2.082 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001673/0.2878, allocations: 0.5727 MB / 1.088 GB, free: 1.512 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0003303/0.2881, allocations: 99.58 kB / 1.088 GB, free: 1.414 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.187e-05/0.2881, allocations: 3.938 kB / 1.088 GB, free: 1.41 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.53e-05/0.2882, allocations: 0 / 1.088 GB, free: 1.41 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.102e-06/0.2882, allocations: 0 / 1.088 GB, free: 1.41 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003408/0.2885, allocations: 39.83 kB / 1.088 GB, free: 1.371 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 4.303e-05/0.2886, allocations: 4 kB / 1.088 GB, free: 1.367 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.901e-05/0.2886, allocations: 4.328 kB / 1.088 GB, free: 1.363 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.388e-05/0.2887, allocations: 4 kB / 1.088 GB, free: 1.359 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 1.823e-05/0.2887, allocations: 0 / 1.088 GB, free: 1.359 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.854e-06/0.2887, allocations: 0 / 1.088 GB, free: 1.359 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001497/0.2889, allocations: 31.97 kB / 1.088 GB, free: 1.328 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.038e-05/0.2889, allocations: 3.984 kB / 1.088 GB, free: 1.324 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.841e-05/0.2889, allocations: 4 kB / 1.088 GB, free: 1.32 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001019/0.289, allocations: 31.84 kB / 1.088 GB, free: 1.289 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.289, allocations: 0 / 1.088 GB, free: 1.289 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.242e-06/0.289, allocations: 0 / 1.088 GB, free: 1.289 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.289, allocations: 0 / 1.088 GB, free: 1.289 MB / 0.8419 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.0002913/0.2893, allocations: 327.7 kB / 1.089 GB, free: 0.918 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.2894, allocations: 8.031 kB / 1.089 GB, free: 0.9102 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.057e-05/0.2894, allocations: 30.75 kB / 1.089 GB, free: 0.8711 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.128e-05/0.2894, allocations: 0.9375 kB / 1.089 GB, free: 0.8711 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.089e-05/0.2895, allocations: 164.4 kB / 1.089 GB, free: 0.6719 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.614e-06/0.2896, allocations: 384 / 1.089 GB, free: 0.6719 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.2896, allocations: 4.359 kB / 1.089 GB, free: 0.668 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.357e-05/0.2897, allocations: 30.27 kB / 1.089 GB, free: 0.6328 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.2897, allocations: 3.938 kB / 1.089 GB, free: 0.6289 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.232e-06/0.2897, allocations: 4 kB / 1.089 GB, free: 0.625 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.2897, allocations: 4 kB / 1.089 GB, free: 0.6211 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.036e-05/0.2897, allocations: 3.938 kB / 1.089 GB, free: 0.6172 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001309/0.2899, allocations: 145.7 kB / 1.089 GB, free: 436 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 3.632e-05/0.2899, allocations: 18.61 kB / 1.089 GB, free: 408 kB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.463e-05/0.2899, allocations: 4.859 kB / 1.089 GB, free: 400 kB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002064/0.2901, allocations: 89.14 kB / 1.089 GB, free: 292 kB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.2902, allocations: 46.55 kB / 1.089 GB, free: 236 kB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.2902, allocations: 0 / 1.089 GB, free: 236 kB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0001568/0.2903, allocations: 37.58 kB / 1.089 GB, free: 192 kB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/0.2904, allocations: 55.41 kB / 1.089 GB, free: 124 kB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.247e-05/0.2904, allocations: 89.86 kB / 1.089 GB, free: 24 kB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.437e-05/0.2905, allocations: 25.7 kB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.654e-05/0.2905, allocations: 80.14 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.587e-05/0.2905, allocations: 0 / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.811e-05/0.2906, allocations: 17.84 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.2907, allocations: 322.7 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.827e-06/0.2907, allocations: 0 / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.795e-06/0.2907, allocations: 3.984 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.714e-05/0.2907, allocations: 8.859 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.2907, allocations: 0 / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.238e-05/0.2908, allocations: 33.64 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.2908, allocations: 8.094 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.2909, allocations: 7.938 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.2909, allocations: 0 / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.51e-05/0.2909, allocations: 0 / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.2909, allocations: 0 / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.215e-05/0.2909, allocations: 3.953 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.2909, allocations: 0 / 1.09 GB, free: 15.49 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 (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 6.775e-05/0.291, allocations: 117.8 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.878e-05/0.291, allocations: 0 / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.366e-05/0.2911, allocations: 44.7 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.2911, allocations: 0 / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2911, allocations: 0 / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.2911, allocations: 0 / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.572e-05/0.2912, allocations: 153.7 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2912, allocations: 0 / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.228e-05/0.2913, allocations: 0 / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2913, allocations: 0 / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.2913, allocations: 3.938 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.2913, allocations: 0 / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2913, allocations: 4 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.839e-05/0.2914, allocations: 57.16 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.052e-05/0.2914, allocations: 77.11 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.029e-05/0.2914, allocations: 3.938 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.968e-06/0.2914, allocations: 4 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.168e-05/0.2915, allocations: 3.938 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-06/0.2915, allocations: 4 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.544e-05/0.2915, allocations: 75.28 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.11e-07/0.2915, allocations: 4.031 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001957/0.2917, allocations: 8 kB / 1.09 GB, free: 14.84 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 (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.000439/0.2922, allocations: 0.6162 MB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 6.122e-05/0.2922, allocations: 4 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2922, allocations: 3.938 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.911e-06/0.2922, allocations: 0 / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001299/0.2924, allocations: 9.656 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002752/0.2927, allocations: 118.6 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.2929, allocations: 0.669 MB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.045e-05/0.2929, allocations: 0 / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.458e-05/0.2929, allocations: 11.56 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.293, allocations: 0 / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01506/0.308, allocations: 1.159 MB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.915/8.223, allocations: 8 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches