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.001581/0.001581, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001931/0.001931, allocations: 198 kB / 16.14 MB, free: 6.656 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.485/1.485, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.706/2.706, allocations: 461.9 MB / 0.7342 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 67.16 kB / 0.8984 GB, free: 37.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.345, allocations: 157.4 MB / 1.052 GB, free: 8.879 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.002697/0.3477, allocations: 0.6425 MB / 1.053 GB, free: 8.23 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0005144/0.3483, allocations: 107.6 kB / 1.053 GB, free: 8.125 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.491e-05/0.3483, allocations: 0 / 1.053 GB, free: 8.125 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.057e-05/0.3484, allocations: 0 / 1.053 GB, free: 8.125 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.053e-06/0.3484, allocations: 0 / 1.053 GB, free: 8.125 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004139/0.3488, allocations: 35.84 kB / 1.053 GB, free: 8.09 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.104e-05/0.3489, allocations: 0 / 1.053 GB, free: 8.09 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.598e-05/0.3489, allocations: 0 / 1.053 GB, free: 8.09 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.67e-05/0.349, allocations: 0 / 1.053 GB, free: 8.09 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.515e-05/0.349, allocations: 8 kB / 1.053 GB, free: 8.082 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.349, allocations: 0 / 1.053 GB, free: 8.082 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001998/0.3492, allocations: 39.89 kB / 1.053 GB, free: 8.043 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.012e-05/0.3492, allocations: 0 / 1.053 GB, free: 8.043 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.331e-05/0.3493, allocations: 0 / 1.053 GB, free: 8.043 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.3494, allocations: 35.89 kB / 1.053 GB, free: 8.008 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.3494, allocations: 4 kB / 1.053 GB, free: 8.004 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.02e-07/0.3494, allocations: 0 / 1.053 GB, free: 8.004 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.3494, allocations: 0 / 1.053 GB, free: 8.004 MB / 0.8106 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.0003594/0.3498, allocations: 319.5 kB / 1.053 GB, free: 7.641 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.3498, allocations: 12.03 kB / 1.053 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.274e-05/0.3499, allocations: 0.9375 kB / 1.053 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.35, allocations: 168.3 kB / 1.053 GB, free: 7.426 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.186e-06/0.35, allocations: 384 / 1.053 GB, free: 7.426 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.3501, allocations: 4.375 kB / 1.053 GB, free: 7.422 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.3502, allocations: 30.27 kB / 1.053 GB, free: 7.387 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.3502, allocations: 192 / 1.053 GB, free: 7.387 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.3502, allocations: 3.938 kB / 1.053 GB, free: 7.383 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.3502, allocations: 0 / 1.053 GB, free: 7.383 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.193e-05/0.3502, allocations: 12 kB / 1.053 GB, free: 7.371 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001441/0.3504, allocations: 149.7 kB / 1.054 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 3.857e-05/0.3504, allocations: 18.52 kB / 1.054 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.626e-05/0.3505, allocations: 8.953 kB / 1.054 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002227/0.3507, allocations: 89.08 kB / 1.054 GB, free: 7.031 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.3507, allocations: 30.56 kB / 1.054 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 3.066e-06/0.3507, allocations: 4 kB / 1.054 GB, free: 6.988 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001386/0.3509, allocations: 37.64 kB / 1.054 GB, free: 6.945 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.3509, allocations: 51.41 kB / 1.054 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.507e-05/0.351, allocations: 89.86 kB / 1.054 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.351, allocations: 29.64 kB / 1.054 GB, free: 6.75 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.628e-05/0.351, allocations: 84.14 kB / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.843e-05/0.3511, allocations: 0 / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.959e-05/0.3511, allocations: 13.7 kB / 1.054 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.3512, allocations: 319 kB / 1.054 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.066e-05/0.3512, allocations: 4 kB / 1.054 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.673e-06/0.3513, allocations: 0 / 1.054 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.06e-05/0.3513, allocations: 8.797 kB / 1.054 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3513, allocations: 4 kB / 1.054 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.381e-05/0.3514, allocations: 33.64 kB / 1.054 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.3514, allocations: 4 kB / 1.054 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.3514, allocations: 0 / 1.054 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.3514, allocations: 4.031 kB / 1.054 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.066e-05/0.3514, allocations: 15.92 kB / 1.054 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.3515, allocations: 0 / 1.054 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.077e-05/0.3515, allocations: 0 / 1.054 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.3515, allocations: 0 / 1.054 GB, free: 6.242 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.225e-05/0.3515, allocations: 109.8 kB / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.76e-05/0.3516, allocations: 4 kB / 1.055 GB, free: 6.121 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.786e-05/0.3517, allocations: 40.75 kB / 1.055 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.3517, allocations: 0 / 1.055 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3517, allocations: 4.031 kB / 1.055 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.3517, allocations: 0 / 1.055 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.83e-05/0.3518, allocations: 141.7 kB / 1.055 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.3518, allocations: 0 / 1.055 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.165e-05/0.3518, allocations: 4 kB / 1.055 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.3518, allocations: 0 / 1.055 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.3518, allocations: 3.938 kB / 1.055 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.3518, allocations: 0 / 1.055 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3518, allocations: 3.938 kB / 1.055 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.468e-05/0.3519, allocations: 65.12 kB / 1.055 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.124e-05/0.3519, allocations: 81.09 kB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.352, allocations: 3.938 kB / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.043e-06/0.352, allocations: 0 / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.374e-05/0.352, allocations: 0 / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.253e-06/0.352, allocations: 11.98 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.279e-05/0.352, allocations: 75.28 kB / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.352, allocations: 0 / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002119/0.3523, allocations: 4 kB / 1.055 GB, free: 5.602 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.0001885/0.3524, allocations: 119.3 kB / 1.055 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.197e-05/0.3525, allocations: 11.92 kB / 1.055 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3525, allocations: 3.938 kB / 1.055 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.36e-06/0.3525, allocations: 0 / 1.055 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001282/0.3527, allocations: 6.062 kB / 1.055 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001613/0.3528, allocations: 78.8 kB / 1.055 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.3531, allocations: 0.6692 MB / 1.056 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.337e-05/0.3531, allocations: 4 kB / 1.056 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.454e-05/0.3531, allocations: 11.44 kB / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of SimCode: time 2.21e-07/0.3531, allocations: 0 / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of Templates: time 0.002478/0.3556, allocations: 395.2 kB / 1.056 GB, free: 4.254 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 -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