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.001228/0.001228, 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.001385/0.001385, allocations: 198.7 kB / 16.14 MB, free: 6.645 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.512/1.512, allocations: 222.9 MB / 239.8 MB, free: 4.508 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.509/2.509, allocations: 390.2 MB / 0.6642 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 72.12 kB / 0.8118 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9385/0.9399, allocations: 140.3 MB / 0.9489 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002759/0.9427, allocations: 1.505 MB / 0.9504 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004401/0.9432, allocations: 164.2 kB / 0.9505 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.798e-05/0.9432, allocations: 0 / 0.9505 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.691e-05/0.9433, allocations: 3.938 kB / 0.9505 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.648e-05/0.9433, allocations: 1.375 kB / 0.9505 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003048/0.9437, allocations: 36.28 kB / 0.9506 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.56e-05/0.9437, allocations: 16.19 kB / 0.9506 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.739e-05/0.9438, allocations: 14.73 kB / 0.9506 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.688e-05/0.9439, allocations: 12.05 kB / 0.9506 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.168e-05/0.9439, allocations: 10.73 kB / 0.9506 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.9439, allocations: 1.375 kB / 0.9506 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.9441, allocations: 39.16 kB / 0.9507 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.153e-05/0.9441, allocations: 0 / 0.9507 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.527e-05/0.9441, allocations: 10.69 kB / 0.9507 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.9443, allocations: 46.98 kB / 0.9507 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.9443, allocations: 0 / 0.9507 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9443, allocations: 1.375 kB / 0.9507 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.9443, allocations: 0 / 0.9507 GB, free: 7.789 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.0004667/0.9448, allocations: 349.2 kB / 0.9511 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.9448, allocations: 8.625 kB / 0.9511 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.53e-05/0.9449, allocations: 2.594 kB / 0.9511 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.26e-05/0.945, allocations: 165.9 kB / 0.9512 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.945, allocations: 384 / 0.9512 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.945, allocations: 6.641 kB / 0.9512 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.9452, allocations: 48.91 kB / 0.9513 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.9452, allocations: 4.188 kB / 0.9513 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.9453, allocations: 8.875 kB / 0.9513 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.9453, allocations: 0 / 0.9513 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001556/0.9454, allocations: 35.11 kB / 0.9513 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002606/0.9457, allocations: 244.4 kB / 0.9516 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.9458, allocations: 51.75 kB / 0.9516 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.914e-05/0.9459, allocations: 22.88 kB / 0.9516 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001557/0.9461, allocations: 84.19 kB / 0.9517 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.9461, allocations: 32.03 kB / 0.9517 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.9461, allocations: 3.938 kB / 0.9517 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003422/0.9465, allocations: 84.83 kB / 0.9518 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.421e-05/0.9465, allocations: 51.41 kB / 0.9519 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.293e-05/0.9466, allocations: 103.2 kB / 0.952 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.442e-06/0.9466, allocations: 25.7 kB / 0.952 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.54e-05/0.9466, allocations: 81.64 kB / 0.9521 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.719e-05/0.9466, allocations: 13.42 kB / 0.9521 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.569e-05/0.9466, allocations: 19.09 kB / 0.9521 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.248e-05/0.9467, allocations: 316.5 kB / 0.9524 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.614e-05/0.9468, allocations: 16.94 kB / 0.9524 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.701e-05/0.9468, allocations: 17.7 kB / 0.9524 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.947, allocations: 34.92 kB / 0.9525 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.947, allocations: 0 / 0.9525 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001774/0.9472, allocations: 72.47 kB / 0.9525 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.9472, allocations: 7.031 kB / 0.9525 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.9472, allocations: 0 / 0.9525 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.9472, allocations: 1.125 kB / 0.9525 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.744e-05/0.9473, allocations: 14.17 kB / 0.9526 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.9473, allocations: 0 / 0.9526 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.709e-05/0.9474, allocations: 11.89 kB / 0.9526 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.9474, allocations: 1.281 kB / 0.9526 GB, free: 5.859 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 5.044e-05/0.9474, allocations: 119.2 kB / 0.9527 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.361e-05/0.9475, allocations: 5.188 kB / 0.9527 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002076/0.9477, allocations: 66.41 kB / 0.9528 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.9477, allocations: 192 / 0.9528 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.9477, allocations: 1.469 kB / 0.9528 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.9477, allocations: 3.984 kB / 0.9528 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.9478, allocations: 165.3 kB / 0.9529 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.9478, allocations: 5.406 kB / 0.9529 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.224e-05/0.9479, allocations: 5.688 kB / 0.9529 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.9479, allocations: 0 / 0.9529 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.9479, allocations: 1.438 kB / 0.9529 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/0.9479, allocations: 7.922 kB / 0.9529 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.9479, allocations: 0 / 0.9529 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002063/0.9481, allocations: 163.4 kB / 0.9531 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.769e-05/0.9482, allocations: 82 kB / 0.9532 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.9482, allocations: 5 kB / 0.9532 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.838e-05/0.9483, allocations: 7.062 kB / 0.9532 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.072e-05/0.9483, allocations: 5.641 kB / 0.9532 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.9483, allocations: 1.281 kB / 0.9532 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.032e-05/0.9483, allocations: 77.81 kB / 0.9533 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9483, allocations: 0 / 0.9533 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002312/0.9486, allocations: 14.16 kB / 0.9533 GB, free: 5.117 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.0001844/0.9488, allocations: 111.9 kB / 0.9534 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000199/0.949, allocations: 41.38 kB / 0.9534 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.949, allocations: 0 / 0.9534 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.127e-05/0.9491, allocations: 23.03 kB / 0.9534 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.9494, allocations: 6.375 kB / 0.9534 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002405/0.9496, allocations: 107.7 kB / 0.9536 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001018/0.9497, allocations: 0.6767 MB / 0.9542 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.1e-05/0.9497, allocations: 0 / 0.9542 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.766e-05/0.9498, allocations: 12.81 kB / 0.9542 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of SimCode: time 3.81e-07/0.9498, allocations: 4.062 kB / 0.9542 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of Templates: time 0.002785/0.9526, allocations: 0.5747 MB / 0.9548 GB, free: 3.863 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