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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.01029/0.01029, allocations: 101.5 kB / 15.88 MB, free: 5.867 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.001934/0.001934, allocations: 191.5 kB / 16.79 MB, free: 5.809 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.376/1.376, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.427/2.427, allocations: 390.2 MB / 0.6649 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 71.89 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6361/0.6375, allocations: 140.3 MB / 0.9496 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002277/0.6398, allocations: 1.495 MB / 0.951 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003867/0.6402, allocations: 168.5 kB / 0.9512 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.241e-05/0.6403, allocations: 0 / 0.9512 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.069e-05/0.6403, allocations: 0 / 0.9512 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.333e-05/0.6403, allocations: 0 / 0.9512 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002393/0.6406, allocations: 36.44 kB / 0.9512 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.419e-05/0.6406, allocations: 21.14 kB / 0.9513 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.414e-05/0.6407, allocations: 7.031 kB / 0.9513 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.141e-05/0.6408, allocations: 10.39 kB / 0.9513 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.017e-05/0.6408, allocations: 11.06 kB / 0.9513 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.6408, allocations: 1.281 kB / 0.9513 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001203/0.6409, allocations: 44.36 kB / 0.9513 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.247e-05/0.641, allocations: 7.922 kB / 0.9513 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.211e-05/0.641, allocations: 10.69 kB / 0.9513 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.788e-05/0.6411, allocations: 27.42 kB / 0.9514 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.237e-06/0.6411, allocations: 0 / 0.9514 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.81e-07/0.6411, allocations: 0 / 0.9514 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.6411, allocations: 1.125 kB / 0.9514 GB, free: 7.742 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.000379/0.6415, allocations: 347.4 kB / 0.9517 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.6415, allocations: 9.312 kB / 0.9517 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.595e-05/0.6416, allocations: 3.125 kB / 0.9517 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.411e-05/0.6417, allocations: 165.4 kB / 0.9519 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.6417, allocations: 1.781 kB / 0.9519 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.228e-06/0.6417, allocations: 1.844 kB / 0.9519 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.6419, allocations: 53.44 kB / 0.9519 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.6419, allocations: 4.125 kB / 0.9519 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.6419, allocations: 3.938 kB / 0.9519 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.6419, allocations: 4 kB / 0.9519 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001664/0.6421, allocations: 35.61 kB / 0.952 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002667/0.6424, allocations: 248.5 kB / 0.9522 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.6425, allocations: 42.47 kB / 0.9522 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.809e-05/0.6426, allocations: 27.62 kB / 0.9523 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001482/0.6427, allocations: 83.88 kB / 0.9524 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.61e-05/0.6428, allocations: 35.97 kB / 0.9524 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.6428, allocations: 0 / 0.9524 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003329/0.6431, allocations: 88.39 kB / 0.9525 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.904e-05/0.6431, allocations: 52.78 kB / 0.9525 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.019e-05/0.6432, allocations: 103.3 kB / 0.9526 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.143e-06/0.6432, allocations: 25.7 kB / 0.9526 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.222e-05/0.6432, allocations: 81.52 kB / 0.9527 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.441e-05/0.6433, allocations: 3.906 kB / 0.9527 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.541e-05/0.6433, allocations: 20.47 kB / 0.9527 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.978e-05/0.6433, allocations: 312.2 kB / 0.953 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.625e-05/0.6434, allocations: 20.25 kB / 0.9531 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.719e-05/0.6435, allocations: 21.55 kB / 0.9531 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.6436, allocations: 40.02 kB / 0.9531 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.6436, allocations: 0 / 0.9531 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001857/0.6438, allocations: 73.03 kB / 0.9532 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.6438, allocations: 4.125 kB / 0.9532 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.6439, allocations: 1.375 kB / 0.9532 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.6439, allocations: 0 / 0.9532 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.945e-05/0.644, allocations: 9.484 kB / 0.9532 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.644, allocations: 1.375 kB / 0.9532 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.339e-05/0.644, allocations: 2.75 kB / 0.9532 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-06/0.644, allocations: 1.375 kB / 0.9532 GB, free: 5.82 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.033e-05/0.6441, allocations: 127.1 kB / 0.9533 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.484e-05/0.6441, allocations: 5.281 kB / 0.9533 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002012/0.6443, allocations: 70.78 kB / 0.9534 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.6443, allocations: 0 / 0.9534 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.6443, allocations: 1.375 kB / 0.9534 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.6444, allocations: 0 / 0.9534 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.6445, allocations: 157.7 kB / 0.9536 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.6445, allocations: 7.984 kB / 0.9536 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.482e-05/0.6445, allocations: 10.75 kB / 0.9536 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.6445, allocations: 0 / 0.9536 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.6445, allocations: 1.094 kB / 0.9536 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.6446, allocations: 0 / 0.9536 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.6446, allocations: 1.594 kB / 0.9536 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002044/0.6448, allocations: 162 kB / 0.9537 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.652e-05/0.6448, allocations: 86.53 kB / 0.9538 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.6448, allocations: 4 kB / 0.9538 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.147e-05/0.6449, allocations: 4.469 kB / 0.9538 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.951e-05/0.6449, allocations: 5.484 kB / 0.9538 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.6449, allocations: 0 / 0.9538 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.094e-05/0.645, allocations: 83.2 kB / 0.9539 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.645, allocations: 0 / 0.9539 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002351/0.6452, allocations: 10.38 kB / 0.9539 GB, free: 5.078 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.0001512/0.6454, allocations: 118.8 kB / 0.954 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002001/0.6456, allocations: 37.16 kB / 0.9541 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.6456, allocations: 7.875 kB / 0.9541 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.217e-05/0.6457, allocations: 19.53 kB / 0.9541 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.646, allocations: 10.09 kB / 0.9541 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002275/0.6462, allocations: 136.6 kB / 0.9542 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.947e-05/0.6463, allocations: 0.6734 MB / 0.9549 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.11e-05/0.6463, allocations: 12.77 kB / 0.9549 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of SimCode: time 2.91e-07/0.6463, allocations: 0 / 0.9549 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of Templates: time 0.001971/0.6483, allocations: 0.7553 MB / 0.9556 GB, free: 3.711 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches