Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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: translateModel(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 117.2 kB / 16.37 MB, free: 6.004 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.001822/0.001823, allocations: 193.2 kB / 17.31 MB, free: 5.613 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.403/1.403, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.494/2.494, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001329, allocations: 67.12 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.2852, allocations: 153 MB / 1.027 GB, free: 2.055 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001879/0.2872, allocations: 0.5699 MB / 1.027 GB, free: 1.484 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0003622/0.2875, allocations: 111.6 kB / 1.027 GB, free: 1.375 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.342e-05/0.2876, allocations: 0 / 1.027 GB, free: 1.375 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.517e-05/0.2876, allocations: 0 / 1.027 GB, free: 1.375 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.899e-06/0.2876, allocations: 0 / 1.027 GB, free: 1.375 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003221/0.2879, allocations: 31.91 kB / 1.027 GB, free: 1.344 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 4.495e-05/0.288, allocations: 8 kB / 1.027 GB, free: 1.336 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.162e-05/0.288, allocations: 0 / 1.027 GB, free: 1.336 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.37e-05/0.2881, allocations: 0 / 1.027 GB, free: 1.336 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 1.628e-05/0.2881, allocations: 7.875 kB / 1.027 GB, free: 1.328 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 7.114e-06/0.2881, allocations: 0 / 1.027 GB, free: 1.328 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001427/0.2882, allocations: 39.95 kB / 1.027 GB, free: 1.289 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.022e-05/0.2883, allocations: 4 kB / 1.027 GB, free: 1.285 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.738e-05/0.2883, allocations: 3.984 kB / 1.027 GB, free: 1.281 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.582e-05/0.2884, allocations: 23.97 kB / 1.028 GB, free: 1.258 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.2884, allocations: 0 / 1.028 GB, free: 1.258 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.537e-06/0.2884, allocations: 0 / 1.028 GB, free: 1.258 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.2884, allocations: 3.938 kB / 1.028 GB, free: 1.254 MB / 0.795 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.0002537/0.2887, allocations: 311.6 kB / 1.028 GB, free: 0.8984 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.2887, allocations: 8.031 kB / 1.028 GB, free: 0.8906 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.479e-05/0.2888, allocations: 4.938 kB / 1.028 GB, free: 0.8867 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.395e-05/0.2889, allocations: 170.8 kB / 1.028 GB, free: 0.6836 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.2889, allocations: 4.375 kB / 1.028 GB, free: 0.6797 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.849e-06/0.2889, allocations: 384 / 1.028 GB, free: 0.6797 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.032e-05/0.289, allocations: 30.25 kB / 1.028 GB, free: 0.6445 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.289, allocations: 192 / 1.028 GB, free: 0.6445 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.289, allocations: 3.938 kB / 1.028 GB, free: 0.6406 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.289, allocations: 4 kB / 1.028 GB, free: 0.6367 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.662e-05/0.289, allocations: 0 / 1.028 GB, free: 0.6367 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001234/0.2892, allocations: 153.7 kB / 1.028 GB, free: 448 kB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 3.708e-05/0.2892, allocations: 26.55 kB / 1.028 GB, free: 412 kB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.695e-05/0.2892, allocations: 8.797 kB / 1.028 GB, free: 400 kB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002005/0.2894, allocations: 85.16 kB / 1.028 GB, free: 296 kB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.2895, allocations: 34.56 kB / 1.028 GB, free: 252 kB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.2895, allocations: 0 / 1.028 GB, free: 252 kB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.000128/0.2896, allocations: 37.7 kB / 1.028 GB, free: 208 kB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.2896, allocations: 59.41 kB / 1.028 GB, free: 136 kB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.235e-05/0.2897, allocations: 93.86 kB / 1.029 GB, free: 32 kB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.2897, allocations: 29.64 kB / 1.029 GB, free: 16 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.531e-05/0.2897, allocations: 80.14 kB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.533e-05/0.2898, allocations: 0 / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.343e-05/0.2898, allocations: 9.719 kB / 1.029 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.08e-05/0.2899, allocations: 318.8 kB / 1.029 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.127e-06/0.2899, allocations: 0 / 1.029 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.14e-06/0.2899, allocations: 4 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.43e-05/0.2899, allocations: 12.86 kB / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.29, allocations: 0 / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.11e-05/0.29, allocations: 33.64 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.29, allocations: 4 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.29, allocations: 0 / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.2901, allocations: 7.938 kB / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.485e-05/0.2901, allocations: 3.984 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.2901, allocations: 96 / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.908e-06/0.2901, allocations: 4 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.2901, allocations: 0 / 1.029 GB, free: 15.5 MB / 0.8106 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.403e-05/0.2902, allocations: 113.8 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.774e-05/0.2902, allocations: 0 / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.278e-05/0.2903, allocations: 44.75 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.2903, allocations: 3.984 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.2903, allocations: 0 / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-06/0.2903, allocations: 0 / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.645e-05/0.2904, allocations: 149.7 kB / 1.029 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.2904, allocations: 0 / 1.029 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.231e-05/0.2904, allocations: 3.938 kB / 1.029 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.2904, allocations: 0 / 1.029 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.2905, allocations: 3.938 kB / 1.029 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.2905, allocations: 0 / 1.029 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.2905, allocations: 7.938 kB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.623e-05/0.2905, allocations: 57.12 kB / 1.029 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.809e-05/0.2906, allocations: 81.14 kB / 1.029 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.037e-05/0.2906, allocations: 3.938 kB / 1.029 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.564e-06/0.2906, allocations: 0 / 1.029 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.726e-06/0.2906, allocations: 4 kB / 1.029 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.2906, allocations: 3.984 kB / 1.029 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.305e-05/0.2906, allocations: 75.28 kB / 1.03 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2907, allocations: 0 / 1.03 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001956/0.2909, allocations: 12 kB / 1.03 GB, free: 14.84 MB / 0.8106 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.0001765/0.291, allocations: 107.2 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.296e-05/0.2911, allocations: 11.92 kB / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2911, allocations: 0 / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.995e-06/0.2911, allocations: 7.938 kB / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001316/0.2913, allocations: 4 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001656/0.2914, allocations: 81.11 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000194/0.2916, allocations: 0.6729 MB / 1.03 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 9.408e-06/0.2917, allocations: 0 / 1.03 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.274e-05/0.2917, allocations: 7.438 kB / 1.03 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.2917, allocations: 0 / 1.03 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of Templates: time 0.002309/0.294, allocations: 408.5 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches