Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00613/0.00613, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001256/0.001256, allocations: 197.8 kB / 16.67 MB, free: 5.977 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.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.802/2.802, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 63.89 kB / 1.054 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3283, allocations: 157.4 MB / 1.208 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.003523/0.3319, allocations: 1.437 MB / 1.209 GB, free: 8.195 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0005445/0.3325, allocations: 147.6 kB / 1.209 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.814e-05/0.3325, allocations: 0 / 1.209 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.616e-05/0.3326, allocations: 7.922 kB / 1.209 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.762e-05/0.3327, allocations: 3.938 kB / 1.209 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003865/0.3331, allocations: 43.89 kB / 1.209 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.708e-05/0.3331, allocations: 19.94 kB / 1.209 GB, free: 7.977 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.3332, allocations: 11.98 kB / 1.209 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.432e-05/0.3333, allocations: 7.938 kB / 1.209 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.056e-05/0.3333, allocations: 7.984 kB / 1.209 GB, free: 7.949 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.3334, allocations: 4 kB / 1.209 GB, free: 7.945 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00014/0.3335, allocations: 35.95 kB / 1.209 GB, free: 7.91 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.638e-05/0.3335, allocations: 11.94 kB / 1.209 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.335e-05/0.3336, allocations: 0 / 1.209 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.3337, allocations: 55.8 kB / 1.209 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.3337, allocations: 8 kB / 1.209 GB, free: 7.836 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.684e-06/0.3337, allocations: 0 / 1.209 GB, free: 7.836 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.3338, allocations: 0 / 1.209 GB, free: 7.836 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004762/0.3342, allocations: 339.4 kB / 1.21 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.3343, allocations: 8.625 kB / 1.21 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.54e-05/0.3344, allocations: 8.938 kB / 1.21 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.3345, allocations: 164.4 kB / 1.21 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.3345, allocations: 4.375 kB / 1.21 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.3345, allocations: 8.312 kB / 1.21 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/0.3347, allocations: 50.23 kB / 1.21 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.3348, allocations: 192 / 1.21 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.3348, allocations: 7.938 kB / 1.21 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.3348, allocations: 0 / 1.21 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001705/0.335, allocations: 31.91 kB / 1.21 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003756/0.3353, allocations: 248.9 kB / 1.21 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.3355, allocations: 42.5 kB / 1.21 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.267e-05/0.3356, allocations: 28.84 kB / 1.21 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001987/0.3358, allocations: 85.09 kB / 1.21 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.3358, allocations: 30.56 kB / 1.21 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 2.916e-06/0.3358, allocations: 0 / 1.21 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0004279/0.3363, allocations: 93.56 kB / 1.211 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.3363, allocations: 51.41 kB / 1.211 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.322e-05/0.3364, allocations: 97.84 kB / 1.211 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.3364, allocations: 25.7 kB / 1.211 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.764e-05/0.3365, allocations: 88.14 kB / 1.211 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.3365, allocations: 3.906 kB / 1.211 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.976e-05/0.3366, allocations: 13.84 kB / 1.211 GB, free: 6.207 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.3367, allocations: 322.8 kB / 1.211 GB, free: 5.883 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.841e-05/0.3368, allocations: 11.98 kB / 1.211 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.737e-05/0.3369, allocations: 15.98 kB / 1.211 GB, free: 5.855 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.3371, allocations: 44.83 kB / 1.211 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3371, allocations: 0 / 1.211 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002493/0.3374, allocations: 69.59 kB / 1.211 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.3374, allocations: 4 kB / 1.211 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3374, allocations: 0 / 1.211 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.3374, allocations: 0 / 1.211 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.738e-05/0.3375, allocations: 11.98 kB / 1.211 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.3375, allocations: 0 / 1.211 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.083e-05/0.3376, allocations: 12.02 kB / 1.211 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.3376, allocations: 0 / 1.211 GB, free: 5.707 MB / 0.9669 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 (2): * Single equations (assignments): 2 * 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 9.353e-05/0.3377, allocations: 117.8 kB / 1.211 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.147e-05/0.3378, allocations: 0 / 1.211 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002528/0.338, allocations: 72.7 kB / 1.212 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.338, allocations: 0 / 1.212 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.338, allocations: 7.938 kB / 1.212 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.338, allocations: 4.031 kB / 1.212 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.3382, allocations: 161.6 kB / 1.212 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3382, allocations: 0 / 1.212 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.587e-05/0.3383, allocations: 4 kB / 1.212 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/0.3383, allocations: 3.984 kB / 1.212 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.3383, allocations: 4 kB / 1.212 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.3383, allocations: 0 / 1.212 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3383, allocations: 0 / 1.212 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000255/0.3386, allocations: 175.3 kB / 1.212 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.12e-05/0.3386, allocations: 81.05 kB / 1.212 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.3386, allocations: 4 kB / 1.212 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.2e-05/0.3387, allocations: 7.984 kB / 1.212 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.53e-05/0.3388, allocations: 4 kB / 1.212 GB, free: 4.977 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-06/0.3388, allocations: 7.938 kB / 1.212 GB, free: 4.969 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.598e-05/0.3388, allocations: 75.28 kB / 1.212 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3388, allocations: 4.031 kB / 1.212 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002375/0.3391, allocations: 16 kB / 1.212 GB, free: 4.875 MB / 0.9669 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 (2): * Single equations (assignments): 2 * 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.0001958/0.3393, allocations: 111.2 kB / 1.212 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002237/0.3395, allocations: 35.95 kB / 1.212 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3395, allocations: 4.062 kB / 1.212 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.752e-05/0.3396, allocations: 23.92 kB / 1.212 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.3399, allocations: 7.938 kB / 1.212 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003157/0.3402, allocations: 105.5 kB / 1.212 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/0.3405, allocations: 0.6768 MB / 1.213 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.556e-05/0.3405, allocations: 0 / 1.213 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.371e-05/0.3406, allocations: 19.5 kB / 1.213 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of SimCode: time 6.51e-07/0.3406, allocations: 0 / 1.213 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of Templates: time 0.003152/0.3437, allocations: 0.6474 MB / 1.214 GB, free: 3.184 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches