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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.008145/0.008145, allocations: 101.6 kB / 15.73 MB, free: 5.992 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.001918/0.001918, allocations: 190.9 kB / 16.67 MB, free: 5.922 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.589/2.589, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.00144, allocations: 63.91 kB / 1.054 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9013/0.9028, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001658/0.9045, allocations: 0.5783 MB / 1.208 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003693/0.9048, allocations: 109.5 kB / 1.208 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.216e-05/0.9049, allocations: 3.938 kB / 1.208 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.364e-05/0.9049, allocations: 0 / 1.208 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.57e-06/0.9049, allocations: 0 / 1.208 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003398/0.9052, allocations: 23.92 kB / 1.208 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 3.709e-05/0.9053, allocations: 7.938 kB / 1.208 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.374e-05/0.9053, allocations: 4 kB / 1.208 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.491e-05/0.9054, allocations: 3.984 kB / 1.208 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 1.708e-05/0.9054, allocations: 4 kB / 1.208 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.696e-06/0.9054, allocations: 0 / 1.208 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.9055, allocations: 35.95 kB / 1.209 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.095e-06/0.9056, allocations: 0 / 1.209 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 1.483e-05/0.9056, allocations: 4 kB / 1.209 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001028/0.9057, allocations: 35.89 kB / 1.209 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.9057, allocations: 0 / 1.209 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9057, allocations: 0 / 1.209 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.9057, allocations: 0 / 1.209 GB, free: 12.84 MB / 0.9356 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.0002714/0.906, allocations: 315.6 kB / 1.209 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.906, allocations: 8.031 kB / 1.209 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.781e-05/0.9061, allocations: 8.859 kB / 1.209 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.9062, allocations: 160.4 kB / 1.209 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.9062, allocations: 4.375 kB / 1.209 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.803e-06/0.9062, allocations: 384 / 1.209 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.226e-05/0.9063, allocations: 30.27 kB / 1.209 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.9063, allocations: 4.172 kB / 1.209 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.9063, allocations: 7.938 kB / 1.209 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.9064, allocations: 0 / 1.209 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.769e-05/0.9064, allocations: 4 kB / 1.209 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001245/0.9065, allocations: 149.6 kB / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 3.536e-05/0.9065, allocations: 18.61 kB / 1.209 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.348e-05/0.9066, allocations: 8.797 kB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001911/0.9068, allocations: 89.16 kB / 1.209 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.9068, allocations: 34.56 kB / 1.209 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.9068, allocations: 0 / 1.209 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001353/0.9069, allocations: 37.58 kB / 1.209 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.907, allocations: 51.41 kB / 1.209 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.123e-05/0.907, allocations: 93.86 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.338e-06/0.907, allocations: 25.7 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 2.449e-05/0.9071, allocations: 80.14 kB / 1.21 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.954e-05/0.9071, allocations: 7.984 kB / 1.21 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.308e-05/0.9071, allocations: 13.84 kB / 1.21 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.803e-05/0.9072, allocations: 310.8 kB / 1.21 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.085e-06/0.9072, allocations: 4 kB / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.758e-06/0.9072, allocations: 0 / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.259e-05/0.9073, allocations: 8.859 kB / 1.21 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.9073, allocations: 0 / 1.21 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.927e-05/0.9073, allocations: 37.64 kB / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.9074, allocations: 4 kB / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.9074, allocations: 8.078 kB / 1.21 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.9074, allocations: 7.938 kB / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.384e-05/0.9074, allocations: 0 / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.147e-06/0.9074, allocations: 0 / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.666e-06/0.9074, allocations: 0 / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.9074, allocations: 0 / 1.21 GB, free: 11.09 MB / 0.9356 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.215e-05/0.9075, allocations: 113.8 kB / 1.21 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.839e-05/0.9075, allocations: 7.844 kB / 1.21 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.086e-05/0.9076, allocations: 48.73 kB / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.9076, allocations: 0 / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.9076, allocations: 0 / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.9076, allocations: 0 / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.873e-05/0.9077, allocations: 153.6 kB / 1.21 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.9077, allocations: 4 kB / 1.21 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.047e-05/0.9077, allocations: 0 / 1.21 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.9077, allocations: 0 / 1.21 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.9078, allocations: 7.922 kB / 1.21 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.9078, allocations: 0 / 1.21 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.9078, allocations: 0 / 1.21 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.729e-05/0.9078, allocations: 61.17 kB / 1.21 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 2.71e-05/0.9079, allocations: 77.11 kB / 1.21 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.868e-06/0.9079, allocations: 3.938 kB / 1.21 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.145e-06/0.9079, allocations: 3.984 kB / 1.21 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.043e-05/0.9079, allocations: 4 kB / 1.21 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.9079, allocations: 3.938 kB / 1.21 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 2.198e-05/0.908, allocations: 75.28 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.908, allocations: 4.031 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001954/0.9082, allocations: 8 kB / 1.211 GB, free: 10.42 MB / 0.9356 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.0001764/0.9083, allocations: 115.2 kB / 1.211 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 6.04e-05/0.9084, allocations: 4 kB / 1.211 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.9084, allocations: 0 / 1.211 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.773e-06/0.9084, allocations: 8.062 kB / 1.211 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001197/0.9086, allocations: 0 / 1.211 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001638/0.9087, allocations: 79.33 kB / 1.211 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002088/0.9089, allocations: 0.6768 MB / 1.211 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.358e-06/0.909, allocations: 0 / 1.211 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.11e-05/0.909, allocations: 7.438 kB / 1.211 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/0.909, allocations: 0 / 1.211 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of Templates: time 0.002274/0.9113, allocations: 404.6 kB / 1.212 GB, free: 9.082 MB / 0.9356 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 -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/jenkins/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