Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.006167/0.006167, allocations: 99.41 kB / 15.73 MB, free: 6.445 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.001055/0.001055, allocations: 194.3 kB / 16.67 MB, free: 6.352 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.877/2.877, allocations: 469.8 MB / 0.7425 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 75.81 kB / 1.065 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3379, allocations: 159.1 MB / 1.221 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.002158/0.3401, allocations: 0.5797 MB / 1.221 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004459/0.3405, allocations: 107.6 kB / 1.221 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.365e-05/0.3406, allocations: 3.938 kB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.323e-05/0.3406, allocations: 4 kB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.003e-06/0.3406, allocations: 0 / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004243/0.341, allocations: 31.92 kB / 1.221 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.863e-05/0.341, allocations: 0 / 1.221 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.711e-05/0.3411, allocations: 7.922 kB / 1.221 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.513e-05/0.3411, allocations: 0 / 1.221 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.268e-05/0.3411, allocations: 7.984 kB / 1.221 GB, free: 13 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.788e-06/0.3411, allocations: 0 / 1.221 GB, free: 13 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001809/0.3413, allocations: 35.91 kB / 1.221 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.077e-05/0.3413, allocations: 0 / 1.221 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.022e-05/0.3414, allocations: 0 / 1.221 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.3415, allocations: 35.89 kB / 1.221 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.3415, allocations: 0 / 1.221 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3415, allocations: 0 / 1.221 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.78e-06/0.3415, allocations: 0 / 1.221 GB, free: 12.93 MB / 0.9825 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.0003159/0.3418, allocations: 319.5 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.3419, allocations: 16.02 kB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.646e-05/0.3419, allocations: 0.9375 kB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.342, allocations: 160.4 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.342, allocations: 4.375 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.727e-06/0.342, allocations: 384 / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.703e-05/0.3421, allocations: 38.2 kB / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.3421, allocations: 192 / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.3422, allocations: 3.938 kB / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3422, allocations: 0 / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.016e-05/0.3422, allocations: 0 / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001567/0.3423, allocations: 155.5 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.266e-05/0.3424, allocations: 14.58 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.194e-05/0.3424, allocations: 8.859 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002449/0.3426, allocations: 85.16 kB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.3427, allocations: 38.5 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.3427, allocations: 0 / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001595/0.3428, allocations: 37.64 kB / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.3429, allocations: 51.41 kB / 1.222 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.182e-05/0.3429, allocations: 89.86 kB / 1.222 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.3429, allocations: 29.83 kB / 1.222 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.141e-05/0.343, allocations: 80.14 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/0.343, allocations: 7.922 kB / 1.223 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.127e-05/0.343, allocations: 13.72 kB / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.3431, allocations: 314.8 kB / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.055e-05/0.3432, allocations: 0 / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.105e-06/0.3432, allocations: 3.938 kB / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.059e-05/0.3432, allocations: 12.86 kB / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3432, allocations: 4 kB / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.428e-05/0.3433, allocations: 33.69 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.3433, allocations: 15.92 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.3433, allocations: 0 / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.3433, allocations: 3.938 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.375e-05/0.3433, allocations: 0 / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.3434, allocations: 0 / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.235e-05/0.3434, allocations: 4 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.3434, allocations: 0 / 1.223 GB, free: 11.18 MB / 0.9825 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 7.07e-05/0.3434, allocations: 113.9 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.98e-05/0.3435, allocations: 0 / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.175e-05/0.3436, allocations: 44.69 kB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.3436, allocations: 0 / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3436, allocations: 0 / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3436, allocations: 4 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.832e-05/0.3437, allocations: 141.7 kB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3437, allocations: 0 / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.549e-05/0.3437, allocations: 0 / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.3437, allocations: 4.031 kB / 1.223 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.3437, allocations: 11.92 kB / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3437, allocations: 0 / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3437, allocations: 0 / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.011e-05/0.3438, allocations: 57.08 kB / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.314e-05/0.3438, allocations: 77.11 kB / 1.223 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.3438, allocations: 11.94 kB / 1.223 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.887e-06/0.3438, allocations: 3.984 kB / 1.223 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.163e-05/0.3439, allocations: 4.031 kB / 1.223 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.3439, allocations: 0 / 1.223 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.049e-05/0.3439, allocations: 75.28 kB / 1.223 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3439, allocations: 0 / 1.223 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002094/0.3441, allocations: 12 kB / 1.223 GB, free: 10.53 MB / 0.9825 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.000213/0.3443, allocations: 119.2 kB / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.557e-05/0.3444, allocations: 7.938 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3444, allocations: 4 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.735e-06/0.3444, allocations: 3.938 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001503/0.3446, allocations: 0 / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002547/0.3448, allocations: 88.84 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.3451, allocations: 0.6729 MB / 1.224 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.281e-05/0.3451, allocations: 0 / 1.224 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.058e-05/0.3451, allocations: 7.562 kB / 1.224 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of SimCode: time 1.042e-06/0.3451, allocations: 4 kB / 1.224 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of Templates: time 0.003116/0.3482, allocations: 403.5 kB / 1.225 GB, free: 9.168 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches