Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1.y",fileNamePrefix="Buildings_9_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.001119/0.001119, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 196.2 kB / 16.53 MB, free: 6.672 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.349/1.349, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.382/2.382, allocations: 390.2 MB / 0.6647 GB, free: 472 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 71.88 kB / 0.8125 GB, free: 14.48 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7469/0.7483, allocations: 140.4 MB / 0.9496 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002286/0.7506, allocations: 1.419 MB / 0.951 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003562/0.751, allocations: 163.1 kB / 0.9511 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.129e-05/0.7511, allocations: 1.156 kB / 0.9511 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.317e-05/0.7511, allocations: 3.938 kB / 0.9511 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.527e-05/0.7511, allocations: 1.656 kB / 0.9511 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000248/0.7514, allocations: 41.28 kB / 0.9512 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.798e-05/0.7514, allocations: 29.41 kB / 0.9512 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.791e-05/0.7515, allocations: 7.312 kB / 0.9512 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.845e-05/0.7516, allocations: 9.703 kB / 0.9512 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.962e-05/0.7516, allocations: 12.16 kB / 0.9512 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.037e-05/0.7516, allocations: 1.531 kB / 0.9512 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.928e-05/0.7517, allocations: 33.47 kB / 0.9513 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.207e-06/0.7517, allocations: 4.891 kB / 0.9513 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.032e-05/0.7517, allocations: 14.89 kB / 0.9513 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001088/0.7519, allocations: 43.14 kB / 0.9513 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.7519, allocations: 0 / 0.9513 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7519, allocations: 0 / 0.9513 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.177e-06/0.7519, allocations: 1.406 kB / 0.9513 GB, free: 7.781 MB / 0.7169 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.0003288/0.7522, allocations: 351.2 kB / 0.9517 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.7523, allocations: 10.22 kB / 0.9517 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.587e-05/0.7523, allocations: 2.125 kB / 0.9517 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.942e-05/0.7524, allocations: 165.4 kB / 0.9518 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.406e-06/0.7524, allocations: 1.531 kB / 0.9518 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.7524, allocations: 1.719 kB / 0.9518 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.7526, allocations: 52.84 kB / 0.9519 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.7526, allocations: 4.188 kB / 0.9519 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.7526, allocations: 5.219 kB / 0.9519 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.7526, allocations: 0 / 0.9519 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001529/0.7528, allocations: 38.95 kB / 0.9519 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002473/0.753, allocations: 252.7 kB / 0.9522 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.7532, allocations: 39.31 kB / 0.9522 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.033e-05/0.7532, allocations: 25.98 kB / 0.9522 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001378/0.7534, allocations: 89.05 kB / 0.9523 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.301e-05/0.7534, allocations: 31.66 kB / 0.9523 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.7534, allocations: 0 / 0.9523 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003327/0.7537, allocations: 88.95 kB / 0.9524 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.918e-05/0.7538, allocations: 51.41 kB / 0.9525 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.937e-05/0.7538, allocations: 99.42 kB / 0.9526 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.821e-06/0.7538, allocations: 29.64 kB / 0.9526 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.193e-05/0.7539, allocations: 81.08 kB / 0.9527 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.624e-05/0.7539, allocations: 16.92 kB / 0.9527 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.464e-05/0.7539, allocations: 13 kB / 0.9527 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.87e-05/0.754, allocations: 315 kB / 0.953 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.638e-05/0.754, allocations: 17.11 kB / 0.953 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.875e-05/0.7541, allocations: 13.67 kB / 0.953 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.7543, allocations: 44.03 kB / 0.9531 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.7543, allocations: 0 / 0.9531 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001793/0.7544, allocations: 75.84 kB / 0.9531 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.7545, allocations: 6.156 kB / 0.9532 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.277e-06/0.7545, allocations: 0 / 0.9532 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.7545, allocations: 0 / 0.9532 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.873e-05/0.7546, allocations: 7 kB / 0.9532 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.7546, allocations: 7.969 kB / 0.9532 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.169e-05/0.7546, allocations: 3.656 kB / 0.9532 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.7546, allocations: 1.281 kB / 0.9532 GB, free: 5.848 MB / 0.7169 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 3.807e-05/0.7547, allocations: 115 kB / 0.9533 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.385e-05/0.7547, allocations: 5.062 kB / 0.9533 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001904/0.7549, allocations: 78.52 kB / 0.9534 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.7549, allocations: 0 / 0.9534 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.7549, allocations: 1.625 kB / 0.9534 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.7549, allocations: 0 / 0.9534 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000107/0.755, allocations: 157.6 kB / 0.9535 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.7551, allocations: 4.031 kB / 0.9535 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.245e-05/0.7551, allocations: 10.33 kB / 0.9535 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.7551, allocations: 1.062 kB / 0.9535 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-06/0.7551, allocations: 0 / 0.9535 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.7551, allocations: 1.156 kB / 0.9535 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.7551, allocations: 0 / 0.9535 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/0.7553, allocations: 170.3 kB / 0.9537 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.353e-05/0.7554, allocations: 78.55 kB / 0.9538 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.7554, allocations: 1.25 kB / 0.9538 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.08e-05/0.7554, allocations: 7.891 kB / 0.9538 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.017e-05/0.7555, allocations: 1.312 kB / 0.9538 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-06/0.7555, allocations: 4 kB / 0.9538 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.913e-05/0.7555, allocations: 95.06 kB / 0.9539 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7555, allocations: 0 / 0.9539 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002217/0.7557, allocations: 10.44 kB / 0.9539 GB, free: 5.102 MB / 0.7169 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.0001324/0.7559, allocations: 115 kB / 0.954 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000203/0.7561, allocations: 33.41 kB / 0.954 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.7561, allocations: 0 / 0.954 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.999e-05/0.7562, allocations: 27.73 kB / 0.954 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/0.7564, allocations: 15.14 kB / 0.9541 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000206/0.7566, allocations: 103 kB / 0.9542 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.103e-05/0.7567, allocations: 0.6808 MB / 0.9548 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.02e-05/0.7568, allocations: 1.219 kB / 0.9548 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.556e-05/0.7568, allocations: 8.594 kB / 0.9548 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.7568, allocations: 4.062 kB / 0.9548 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of Templates: time 0.002507/0.7593, allocations: 0.6366 MB / 0.9555 GB, free: 3.816 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches