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.001159/0.001159, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.008975/0.008975, allocations: 170.6 kB / 16.26 MB, free: 6.613 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.402/1.402, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.782/2.782, allocations: 462.6 MB / 0.7364 GB, free: 292 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003883/0.0003881, allocations: 16.59 kB / 0.9028 GB, free: 36.73 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3099, allocations: 159.6 MB / 1.059 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.0009271/0.3108, allocations: 318.9 kB / 1.059 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004746/0.3114, allocations: 111.6 kB / 1.059 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.142e-05/0.3114, allocations: 0 / 1.059 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.545e-05/0.3114, allocations: 0 / 1.059 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.811e-06/0.3114, allocations: 4 kB / 1.059 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003247/0.3118, allocations: 19.92 kB / 1.059 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.836e-05/0.3118, allocations: 4 kB / 1.059 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.675e-05/0.3119, allocations: 3.984 kB / 1.059 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.345e-05/0.3119, allocations: 0 / 1.059 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 1.923e-05/0.3119, allocations: 0 / 1.059 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.128e-06/0.3119, allocations: 0 / 1.059 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001819/0.3121, allocations: 51.89 kB / 1.059 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.287e-06/0.3121, allocations: 0 / 1.059 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.749e-05/0.3122, allocations: 25.7 kB / 1.059 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.3123, allocations: 39.83 kB / 1.059 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3123, allocations: 0 / 1.059 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.254e-06/0.3123, allocations: 0 / 1.059 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.197e-06/0.3123, allocations: 0 / 1.059 GB, free: 4.914 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.0003096/0.3127, allocations: 315.5 kB / 1.06 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.3127, allocations: 8.031 kB / 1.06 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.433e-05/0.3128, allocations: 8.938 kB / 1.06 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.3129, allocations: 164.4 kB / 1.06 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.3129, allocations: 384 / 1.06 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.604e-06/0.3129, allocations: 384 / 1.06 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.52e-05/0.313, allocations: 30.27 kB / 1.06 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.313, allocations: 192 / 1.06 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.3131, allocations: 7.938 kB / 1.06 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3131, allocations: 0 / 1.06 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.91e-05/0.3131, allocations: 0 / 1.06 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001702/0.3133, allocations: 153.6 kB / 1.06 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.255e-05/0.3133, allocations: 22.61 kB / 1.06 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.691e-05/0.3133, allocations: 4.859 kB / 1.06 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002464/0.3136, allocations: 89.16 kB / 1.06 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.3136, allocations: 30.56 kB / 1.06 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.3136, allocations: 0 / 1.06 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001785/0.3138, allocations: 37.67 kB / 1.06 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.3139, allocations: 59.44 kB / 1.06 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.218e-05/0.3139, allocations: 89.86 kB / 1.06 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.3139, allocations: 25.7 kB / 1.06 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.399e-05/0.314, allocations: 80.14 kB / 1.06 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.325e-05/0.314, allocations: 4 kB / 1.06 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.612e-05/0.314, allocations: 9.719 kB / 1.06 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.3142, allocations: 318.8 kB / 1.061 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.337e-06/0.3142, allocations: 4 kB / 1.061 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.939e-06/0.3142, allocations: 4 kB / 1.061 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.717e-05/0.3142, allocations: 4.859 kB / 1.061 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.3142, allocations: 4 kB / 1.061 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.726e-05/0.3143, allocations: 37.58 kB / 1.061 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.3143, allocations: 4 kB / 1.061 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3143, allocations: 0 / 1.061 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.3144, allocations: 3.938 kB / 1.061 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.292e-05/0.3144, allocations: 7.984 kB / 1.061 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.3144, allocations: 96 / 1.061 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.245e-05/0.3144, allocations: 8 kB / 1.061 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.3145, allocations: 0 / 1.061 GB, free: 3.164 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.802e-05/0.3145, allocations: 107.4 kB / 1.061 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.818e-05/0.3146, allocations: 7.984 kB / 1.061 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.866e-05/0.3147, allocations: 36.77 kB / 1.061 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.3147, allocations: 3.984 kB / 1.061 GB, free: 3 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.3147, allocations: 4 kB / 1.061 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.3147, allocations: 0 / 1.061 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.22e-05/0.3148, allocations: 153.7 kB / 1.061 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.3148, allocations: 0 / 1.061 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.685e-05/0.3148, allocations: 4 kB / 1.061 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3148, allocations: 0 / 1.061 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.3148, allocations: 3.938 kB / 1.061 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.3148, allocations: 0 / 1.061 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3148, allocations: 0 / 1.061 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.364e-05/0.3149, allocations: 57.12 kB / 1.061 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.6e-05/0.315, allocations: 81.14 kB / 1.061 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.315, allocations: 3.938 kB / 1.061 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.027e-06/0.315, allocations: 4 kB / 1.061 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.22e-05/0.315, allocations: 0 / 1.061 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.315, allocations: 4 kB / 1.061 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.884e-05/0.3151, allocations: 79.27 kB / 1.061 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3151, allocations: 0 / 1.061 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001939/0.3153, allocations: 4 kB / 1.061 GB, free: 2.523 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.0002064/0.3155, allocations: 123.2 kB / 1.061 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.039e-05/0.3156, allocations: 4 kB / 1.061 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3156, allocations: 0 / 1.061 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.174e-05/0.3156, allocations: 3.984 kB / 1.061 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001325/0.3158, allocations: 9.625 kB / 1.061 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001819/0.316, allocations: 78.67 kB / 1.061 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/0.3162, allocations: 0.6771 MB / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.038e-05/0.3162, allocations: 0 / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.341e-05/0.3162, allocations: 11.44 kB / 1.062 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of SimCode: time 2.11e-07/0.3163, allocations: 0 / 1.062 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of Templates: time 0.002397/0.3187, allocations: 388.5 kB / 1.062 GB, free: 1.176 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