Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.009209/0.009209, allocations: 96.23 kB / 15.73 MB, free: 6.062 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.002234/0.002234, allocations: 198.2 kB / 16.68 MB, free: 5.98 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.408/1.408, 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 9.1.3-maint.9.1.x/package.mo): time 2.448/2.448, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 64.48 kB / 0.9509 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3355, allocations: 140.4 MB / 1.088 GB, free: 1.434 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.002005/0.3375, allocations: 0.572 MB / 1.089 GB, free: 0.8672 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0003473/0.3379, allocations: 103.6 kB / 1.089 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.154e-05/0.3379, allocations: 0 / 1.089 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.559e-05/0.338, allocations: 0 / 1.089 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.951e-06/0.338, allocations: 0 / 1.089 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003111/0.3383, allocations: 35.91 kB / 1.089 GB, free: 0.7305 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 3.64e-05/0.3384, allocations: 7.938 kB / 1.089 GB, free: 0.7227 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.346e-05/0.3384, allocations: 4.328 kB / 1.089 GB, free: 0.7188 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.183e-05/0.3384, allocations: 0 / 1.089 GB, free: 0.7188 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 1.818e-05/0.3385, allocations: 4 kB / 1.089 GB, free: 0.7148 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.065e-06/0.3385, allocations: 0 / 1.089 GB, free: 0.7148 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001441/0.3386, allocations: 39.89 kB / 1.089 GB, free: 0.6758 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 7.304e-06/0.3386, allocations: 0 / 1.089 GB, free: 0.6758 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.473e-05/0.3387, allocations: 0 / 1.089 GB, free: 0.6758 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.3388, allocations: 27.91 kB / 1.089 GB, free: 0.6484 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.3388, allocations: 0 / 1.089 GB, free: 0.6484 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3388, allocations: 0 / 1.089 GB, free: 0.6484 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.3388, allocations: 4 kB / 1.089 GB, free: 0.6445 MB / 0.8419 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.0002622/0.3391, allocations: 319.5 kB / 1.089 GB, free: 288 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.3391, allocations: 16.02 kB / 1.089 GB, free: 272 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.307e-05/0.3392, allocations: 0.9375 kB / 1.089 GB, free: 272 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.984e-05/0.3393, allocations: 164.3 kB / 1.089 GB, free: 68 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.3393, allocations: 384 / 1.089 GB, free: 68 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.336e-06/0.3393, allocations: 384 / 1.089 GB, free: 68 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.837e-05/0.3394, allocations: 30.27 kB / 1.089 GB, free: 32 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.3394, allocations: 4.188 kB / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.3395, allocations: 3.938 kB / 1.089 GB, free: 24 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.3395, allocations: 0 / 1.089 GB, free: 24 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.748e-05/0.3395, allocations: 0 / 1.089 GB, free: 24 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001729/0.3397, allocations: 157.7 kB / 1.089 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.705e-05/0.3397, allocations: 22.52 kB / 1.089 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.655e-05/0.3397, allocations: 4.859 kB / 1.089 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002333/0.34, allocations: 85.16 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.34, allocations: 38.56 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.34, allocations: 0 / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001745/0.3402, allocations: 37.64 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.3403, allocations: 51.41 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.057e-05/0.3403, allocations: 89.86 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.3403, allocations: 25.7 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.609e-05/0.3404, allocations: 80.14 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.715e-05/0.3404, allocations: 8.109 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.181e-05/0.3405, allocations: 17.66 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.3406, allocations: 314.8 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.568e-06/0.3406, allocations: 0 / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.066e-05/0.3406, allocations: 4 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.022e-05/0.3407, allocations: 12.8 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3407, allocations: 0 / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.73e-05/0.3408, allocations: 33.7 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.3408, allocations: 17.58 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.3408, allocations: 0 / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.3408, allocations: 3.938 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.056e-05/0.3409, allocations: 0 / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.3409, allocations: 7.922 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.22e-05/0.3409, allocations: 7.953 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.3409, allocations: 0 / 1.09 GB, free: 14.88 MB / 0.8575 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 8.913e-05/0.341, allocations: 109.8 kB / 1.09 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.595e-05/0.341, allocations: 0 / 1.09 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.651e-05/0.3411, allocations: 44.75 kB / 1.09 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3412, allocations: 0 / 1.09 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.3412, allocations: 4 kB / 1.09 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3412, allocations: 0 / 1.09 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001162/0.3413, allocations: 141.7 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3413, allocations: 0 / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.564e-05/0.3413, allocations: 0 / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.3413, allocations: 4 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.3414, allocations: 7.922 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3414, allocations: 0 / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3414, allocations: 4.031 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001002/0.3415, allocations: 57.08 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.081e-05/0.3415, allocations: 81.11 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.3416, allocations: 3.938 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.073e-05/0.3416, allocations: 3.984 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.522e-05/0.3416, allocations: 3.984 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-06/0.3416, allocations: 0 / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.791e-05/0.3416, allocations: 79.31 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.3416, allocations: 0 / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002124/0.3419, allocations: 15.94 kB / 1.091 GB, free: 14.22 MB / 0.8575 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.000252/0.3421, allocations: 111.8 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.047e-05/0.3422, allocations: 7.938 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3422, allocations: 8 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.7e-06/0.3422, allocations: 0 / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000137/0.3424, allocations: 1.891 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000203/0.3426, allocations: 85.06 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.3429, allocations: 0.6729 MB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.23e-05/0.3429, allocations: 0 / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.727e-05/0.3429, allocations: 7.438 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.3429, allocations: 4 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of Templates: time 0.002588/0.3455, allocations: 402 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches