Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.317/2.317, allocations: 390.3 MB / 402.8 MB, free: 6.699 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009817/0.0009816, allocations: 180.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.656/1.656, allocations: 221.3 MB / 0.7915 GB, free: 5.402 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 91.91 kB / 0.9317 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.533e-05/3.56e-05, allocations: 8 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3564, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.039/1.395, allocations: 149.4 MB / 1.365 GB, free: 4.617 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/1.396, allocations: 81.38 kB / 1.365 GB, free: 4.57 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002177/1.398, allocations: 0.7471 MB / 1.366 GB, free: 3.887 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.114e-06/1.398, allocations: 0 / 1.366 GB, free: 3.887 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.771e-06/1.398, allocations: 0 / 1.366 GB, free: 3.887 MB / 0.823 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.0002754/1.398, allocations: 314.5 kB / 1.366 GB, free: 3.535 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/1.398, allocations: 12.03 kB / 1.366 GB, free: 3.523 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.23e-05/1.398, allocations: 4 kB / 1.366 GB, free: 3.52 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/1.398, allocations: 167 kB / 1.366 GB, free: 3.316 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/1.398, allocations: 0 / 1.366 GB, free: 3.316 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/1.398, allocations: 3.984 kB / 1.366 GB, free: 3.312 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.751e-05/1.398, allocations: 36.97 kB / 1.366 GB, free: 3.273 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/1.398, allocations: 0 / 1.366 GB, free: 3.273 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/1.398, allocations: 3.938 kB / 1.366 GB, free: 3.27 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/1.398, allocations: 0 / 1.366 GB, free: 3.27 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.184e-05/1.398, allocations: 0 / 1.366 GB, free: 3.27 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001531/1.399, allocations: 155.9 kB / 1.366 GB, free: 3.074 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.327e-05/1.399, allocations: 22.52 kB / 1.366 GB, free: 3.043 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.624e-05/1.399, allocations: 4.859 kB / 1.366 GB, free: 3.035 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001977/1.399, allocations: 94.44 kB / 1.366 GB, free: 2.93 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/1.399, allocations: 30.56 kB / 1.366 GB, free: 2.891 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/1.399, allocations: 0 / 1.366 GB, free: 2.891 MB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 0.0001321/1.399, allocations: 37.69 kB / 1.366 GB, free: 2.848 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/1.399, allocations: 51.41 kB / 1.366 GB, free: 2.785 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.324e-05/1.399, allocations: 85 kB / 1.366 GB, free: 2.695 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/1.399, allocations: 25.7 kB / 1.367 GB, free: 2.664 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.883e-05/1.399, allocations: 84.08 kB / 1.367 GB, free: 2.582 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.869e-05/1.399, allocations: 0 / 1.367 GB, free: 2.582 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.804e-06/1.399, allocations: 3.938 kB / 1.367 GB, free: 2.578 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000121/1.399, allocations: 314.8 kB / 1.367 GB, free: 2.262 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.416e-06/1.399, allocations: 4.031 kB / 1.367 GB, free: 2.258 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.649e-06/1.399, allocations: 0 / 1.367 GB, free: 2.258 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.886e-05/1.399, allocations: 7.953 kB / 1.367 GB, free: 2.25 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/1.399, allocations: 0 / 1.367 GB, free: 2.25 MB / 0.823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.032e-05/1.4, allocations: 33.69 kB / 1.367 GB, free: 2.211 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/1.4, allocations: 4 kB / 1.367 GB, free: 2.207 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/1.4, allocations: 0 / 1.367 GB, free: 2.207 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/1.4, allocations: 0.875 kB / 1.367 GB, free: 2.207 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.885e-05/1.4, allocations: 4 kB / 1.367 GB, free: 2.203 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/1.4, allocations: 4.094 kB / 1.367 GB, free: 2.199 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.164e-05/1.4, allocations: 0.625 kB / 1.367 GB, free: 2.199 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-06/1.4, allocations: 0 / 1.367 GB, free: 2.199 MB / 0.823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.389e-05/1.4, allocations: 108.9 kB / 1.367 GB, free: 2.086 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.05e-05/1.4, allocations: 3.562 kB / 1.367 GB, free: 2.086 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.524e-05/1.4, allocations: 44.73 kB / 1.367 GB, free: 2.039 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/1.4, allocations: 3.938 kB / 1.367 GB, free: 2.035 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/1.4, allocations: 0 / 1.367 GB, free: 2.035 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/1.4, allocations: 0 / 1.367 GB, free: 2.035 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.995e-05/1.4, allocations: 149.6 kB / 1.367 GB, free: 1.84 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/1.4, allocations: 3.953 kB / 1.367 GB, free: 1.836 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.27e-05/1.4, allocations: 4 kB / 1.367 GB, free: 1.832 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/1.4, allocations: 3.984 kB / 1.367 GB, free: 1.828 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.019e-06/1.4, allocations: 0 / 1.367 GB, free: 1.828 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/1.4, allocations: 0 / 1.367 GB, free: 1.828 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/1.4, allocations: 0 / 1.367 GB, free: 1.828 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.313e-05/1.4, allocations: 64.27 kB / 1.367 GB, free: 1.75 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.616e-05/1.4, allocations: 85.09 kB / 1.367 GB, free: 1.648 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/1.4, allocations: 7.859 kB / 1.367 GB, free: 1.645 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.963e-06/1.4, allocations: 0 / 1.367 GB, free: 1.645 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.071e-05/1.4, allocations: 0 / 1.367 GB, free: 1.645 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/1.4, allocations: 4 kB / 1.367 GB, free: 1.641 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.789e-05/1.4, allocations: 78.34 kB / 1.367 GB, free: 1.566 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.3e-07/1.4, allocations: 0 / 1.367 GB, free: 1.566 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002085/1.401, allocations: 15.94 kB / 1.368 GB, free: 1.551 MB / 0.823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002167/1.401, allocations: 123.2 kB / 1.368 GB, free: 1.418 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 6.233e-05/1.401, allocations: 4 kB / 1.368 GB, free: 1.414 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.401, allocations: 0 / 1.368 GB, free: 1.414 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 8.086e-06/1.401, allocations: 7.938 kB / 1.368 GB, free: 1.406 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.79e-05/1.401, allocations: 0 / 1.368 GB, free: 1.406 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001501/1.401, allocations: 56 kB / 1.368 GB, free: 1.332 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/1.401, allocations: 0.677 MB / 1.368 GB, free: 0.6289 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 1.102e-05/1.401, allocations: 0 / 1.368 GB, free: 0.6289 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.251e-05/1.401, allocations: 11.44 kB / 1.368 GB, free: 0.6172 MB / 0.823 GB Notification: Performance of SimCode: time 5.21e-07/1.401, allocations: 0 / 1.368 GB, free: 0.6172 MB / 0.823 GB Notification: Performance of Templates: time 0.002137/1.404, allocations: 386.4 kB / 1.369 GB, free: 256 kB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.csv","../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches