Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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: translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001649/0.001649, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002479/0.002479, allocations: 191.9 kB / 16.14 MB, free: 6.711 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.426/1.426, allocations: 222.9 MB / 239.8 MB, free: 4.629 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.687/2.687, allocations: 437 MB / 0.7099 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 63.91 kB / 0.8685 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.801/0.8024, allocations: 151.6 MB / 1.017 GB, free: 2.812 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.00309/0.8056, allocations: 1.503 MB / 1.018 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004669/0.8061, allocations: 156.4 kB / 1.018 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.649e-05/0.8061, allocations: 0 / 1.018 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.439e-05/0.8062, allocations: 7.938 kB / 1.018 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.407e-05/0.8062, allocations: 0 / 1.018 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002912/0.8065, allocations: 39.89 kB / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.611e-05/0.8066, allocations: 19.92 kB / 1.018 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.907e-05/0.8067, allocations: 12 kB / 1.018 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.029e-05/0.8067, allocations: 3.938 kB / 1.018 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.717e-05/0.8068, allocations: 15.92 kB / 1.018 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.8068, allocations: 4 kB / 1.018 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001488/0.807, allocations: 39.89 kB / 1.018 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.222e-05/0.807, allocations: 4 kB / 1.018 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.76e-05/0.807, allocations: 11.92 kB / 1.018 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.8072, allocations: 43.94 kB / 1.018 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.8072, allocations: 0 / 1.018 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of FrontEnd: time 9.32e-07/0.8072, allocations: 0 / 1.018 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.8072, allocations: 4 kB / 1.018 GB, free: 0.9414 MB / 0.7637 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.0004642/0.8077, allocations: 345.4 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.8077, allocations: 8.031 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.836e-05/0.8078, allocations: 4.938 kB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.8079, allocations: 168.3 kB / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.8079, allocations: 384 / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.8079, allocations: 384 / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.8081, allocations: 58.17 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.8081, allocations: 4.125 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.8082, allocations: 3.938 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.8082, allocations: 7.984 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001716/0.8083, allocations: 27.97 kB / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003627/0.8087, allocations: 252.9 kB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.8089, allocations: 38.5 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.447e-05/0.809, allocations: 28.84 kB / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001913/0.8092, allocations: 85.09 kB / 1.019 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.8092, allocations: 34.56 kB / 1.019 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.8092, allocations: 0 / 1.019 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003812/0.8096, allocations: 85.64 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/0.8096, allocations: 51.41 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.217e-05/0.8097, allocations: 101.8 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.8097, allocations: 25.7 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.56e-05/0.8098, allocations: 84.14 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.999e-05/0.8098, allocations: 7.906 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.413e-05/0.8099, allocations: 13.84 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.81, allocations: 318.8 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.32e-05/0.8101, allocations: 19.92 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.899e-05/0.8102, allocations: 11.98 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/0.8104, allocations: 40.81 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.8104, allocations: 4.062 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000226/0.8106, allocations: 69.61 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.8106, allocations: 4 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.8107, allocations: 0 / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.8107, allocations: 0 / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.711e-05/0.8108, allocations: 11.98 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.796e-05/0.8108, allocations: 0 / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.423e-05/0.8109, allocations: 19.83 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.8109, allocations: 7.969 kB / 1.02 GB, free: 14.79 MB / 0.7794 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.381e-05/0.811, allocations: 109.8 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.89e-05/0.811, allocations: 4 kB / 1.02 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002414/0.8112, allocations: 68.78 kB / 1.02 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.8113, allocations: 0 / 1.02 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.8113, allocations: 0 / 1.02 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.8113, allocations: 8.016 kB / 1.02 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001544/0.8114, allocations: 161.6 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.8114, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.26e-05/0.8115, allocations: 7.984 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.8115, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.8115, allocations: 4 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.8115, allocations: 0 / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.8115, allocations: 3.938 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002765/0.8118, allocations: 171.4 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.468e-05/0.8119, allocations: 77.11 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.8119, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.263e-05/0.812, allocations: 7.984 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.117e-05/0.812, allocations: 0 / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.8121, allocations: 4 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.943e-05/0.8121, allocations: 75.28 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8121, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002511/0.8124, allocations: 28.02 kB / 1.021 GB, free: 13.98 MB / 0.7794 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.0002529/0.8126, allocations: 107.6 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002257/0.8129, allocations: 39.89 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.8129, allocations: 0 / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.403e-05/0.813, allocations: 20.05 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.8133, allocations: 11.94 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002976/0.8136, allocations: 107.4 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.8139, allocations: 0.677 MB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.661e-05/0.8139, allocations: 0 / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.969e-05/0.814, allocations: 11.5 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of SimCode: time 5.71e-07/0.814, allocations: 0 / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of Templates: time 0.002998/0.817, allocations: 0.5839 MB / 1.022 GB, free: 12.37 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches