Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1",fileNamePrefix="Buildings_10_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_10_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.001505/0.001505, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001873/0.001873, allocations: 198.4 kB / 16.79 MB, free: 6.809 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.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.678/2.678, allocations: 437 MB / 0.7106 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 67.91 kB / 0.8692 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6591/0.6606, allocations: 151.6 MB / 1.017 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.002215/0.6629, allocations: 0.649 MB / 1.018 GB, free: 2.117 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004165/0.6633, allocations: 99.64 kB / 1.018 GB, free: 2.02 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.112e-05/0.6634, allocations: 0 / 1.018 GB, free: 2.02 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.527e-05/0.6634, allocations: 0 / 1.018 GB, free: 2.02 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.54e-06/0.6634, allocations: 4 kB / 1.018 GB, free: 2.016 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003239/0.6638, allocations: 27.92 kB / 1.018 GB, free: 1.988 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.932e-05/0.6638, allocations: 7.969 kB / 1.018 GB, free: 1.98 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.413e-05/0.6639, allocations: 3.938 kB / 1.018 GB, free: 1.977 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.509e-05/0.6639, allocations: 4 kB / 1.018 GB, free: 1.973 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.644e-05/0.6639, allocations: 0 / 1.018 GB, free: 1.973 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.368e-06/0.6639, allocations: 4 kB / 1.018 GB, free: 1.969 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001704/0.6641, allocations: 35.91 kB / 1.018 GB, free: 1.934 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 8.326e-06/0.6641, allocations: 0 / 1.018 GB, free: 1.934 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.912e-05/0.6641, allocations: 0 / 1.018 GB, free: 1.934 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.87e-05/0.6642, allocations: 23.97 kB / 1.018 GB, free: 1.91 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.6643, allocations: 7.984 kB / 1.018 GB, free: 1.902 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.32e-07/0.6643, allocations: 0 / 1.018 GB, free: 1.902 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.6643, allocations: 0 / 1.018 GB, free: 1.902 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003174/0.6646, allocations: 319.6 kB / 1.018 GB, free: 1.539 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.6646, allocations: 8.031 kB / 1.018 GB, free: 1.531 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.667e-05/0.6647, allocations: 4.844 kB / 1.018 GB, free: 1.527 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.6648, allocations: 164.4 kB / 1.019 GB, free: 1.328 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.6648, allocations: 8.312 kB / 1.019 GB, free: 1.32 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-06/0.6649, allocations: 384 / 1.019 GB, free: 1.32 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.61e-05/0.665, allocations: 30.27 kB / 1.019 GB, free: 1.285 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.665, allocations: 192 / 1.019 GB, free: 1.285 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.665, allocations: 3.938 kB / 1.019 GB, free: 1.281 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.665, allocations: 0 / 1.019 GB, free: 1.281 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.039e-05/0.665, allocations: 4 kB / 1.019 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001636/0.6652, allocations: 145.7 kB / 1.019 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.542e-05/0.6652, allocations: 26.53 kB / 1.019 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.013e-05/0.6653, allocations: 8.859 kB / 1.019 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002418/0.6655, allocations: 81.17 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.6656, allocations: 34.55 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 1.302e-06/0.6656, allocations: 0 / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001576/0.6657, allocations: 37.64 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.6658, allocations: 51.41 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.006e-05/0.6658, allocations: 93.86 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.6658, allocations: 25.7 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 2.912e-05/0.6659, allocations: 84.27 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 3.118e-05/0.6659, allocations: 0 / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.011e-05/0.666, allocations: 9.719 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.6661, allocations: 318.8 kB / 1.02 GB, free: 244 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.818e-06/0.6661, allocations: 7.938 kB / 1.02 GB, free: 236 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.352e-06/0.6661, allocations: 0 / 1.02 GB, free: 236 kB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.681e-05/0.6662, allocations: 8.859 kB / 1.02 GB, free: 224 kB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.6662, allocations: 4.062 kB / 1.02 GB, free: 220 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.147e-05/0.6662, allocations: 29.7 kB / 1.02 GB, free: 184 kB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.6663, allocations: 4 kB / 1.02 GB, free: 180 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.6663, allocations: 3.938 kB / 1.02 GB, free: 176 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.6663, allocations: 7.938 kB / 1.02 GB, free: 168 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.49e-05/0.6663, allocations: 3.984 kB / 1.02 GB, free: 164 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.6664, allocations: 3.984 kB / 1.02 GB, free: 160 kB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.194e-05/0.6664, allocations: 3.938 kB / 1.02 GB, free: 156 kB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.6664, allocations: 7.938 kB / 1.02 GB, free: 148 kB / 0.7637 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.72e-05/0.6665, allocations: 113.9 kB / 1.02 GB, free: 24 kB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/0.6665, allocations: 4 kB / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.6666, allocations: 36.77 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.6666, allocations: 0 / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.6666, allocations: 0 / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.279e-06/0.6666, allocations: 3.984 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.353e-05/0.6667, allocations: 141.7 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.6667, allocations: 4 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.911e-05/0.6668, allocations: 0 / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.6668, allocations: 32 / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.6668, allocations: 7.938 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.6668, allocations: 0 / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.6668, allocations: 0 / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.73e-05/0.6669, allocations: 65.06 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.471e-05/0.6669, allocations: 77.11 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.667, allocations: 3.938 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.484e-06/0.667, allocations: 0 / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.781e-05/0.667, allocations: 8.031 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-06/0.667, allocations: 0 / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.535e-05/0.667, allocations: 75.28 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.667, allocations: 0 / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002108/0.6673, allocations: 11.98 kB / 1.02 GB, free: 15.5 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 (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.00022/0.6675, allocations: 111.2 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.266e-05/0.6676, allocations: 8 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.6676, allocations: 0 / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.198e-06/0.6676, allocations: 11.92 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001376/0.6677, allocations: 0 / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002259/0.668, allocations: 100.3 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.6683, allocations: 0.6731 MB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.492e-05/0.6683, allocations: 7.438 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of SimCode: time 3.41e-07/0.6683, allocations: 0 / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of Templates: time 0.002279/0.6706, allocations: 0.5467 MB / 1.022 GB, free: 13.98 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches