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/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.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/Buildings 10.0.0-master/package.mo): time 2.536/2.536, allocations: 390.3 MB / 402.8 MB, free: 6.75 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.001379/0.001379, allocations: 176.9 kB / 496.1 MB, free: 12.91 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.682/1.682, allocations: 221.3 MB / 0.7915 GB, free: 5.434 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.001067/0.001067, allocations: 87.95 kB / 0.9317 GB, free: 5.746 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.939e-05/2.941e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2903, allocations: 143 MB / 1.219 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.129/1.419, allocations: 150.2 MB / 1.365 GB, free: 3.859 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002001/1.42, allocations: 71.33 kB / 1.365 GB, free: 3.82 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003046/1.423, allocations: 1.043 MB / 1.367 GB, free: 2.879 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.603e-06/1.423, allocations: 0 / 1.367 GB, free: 2.879 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.867e-06/1.423, allocations: 11.31 kB / 1.367 GB, free: 2.871 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000342/1.423, allocations: 334.5 kB / 1.367 GB, free: 2.5 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/1.423, allocations: 16.02 kB / 1.367 GB, free: 2.484 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.357e-05/1.423, allocations: 0 / 1.367 GB, free: 2.484 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/1.423, allocations: 163.7 kB / 1.367 GB, free: 2.285 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/1.423, allocations: 3.25 kB / 1.367 GB, free: 2.285 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/1.423, allocations: 4 kB / 1.367 GB, free: 2.281 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.859e-05/1.424, allocations: 44.56 kB / 1.367 GB, free: 2.234 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/1.424, allocations: 0 / 1.367 GB, free: 2.234 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.886e-06/1.424, allocations: 0 / 1.367 GB, free: 2.234 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/1.424, allocations: 0 / 1.367 GB, free: 2.234 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.071e-05/1.424, allocations: 11.12 kB / 1.367 GB, free: 2.227 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003965/1.424, allocations: 270 kB / 1.367 GB, free: 1.922 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.401e-05/1.424, allocations: 33.73 kB / 1.367 GB, free: 1.883 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.441e-05/1.424, allocations: 18.08 kB / 1.367 GB, free: 1.871 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001501/1.424, allocations: 81.11 kB / 1.367 GB, free: 1.773 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/1.424, allocations: 34.55 kB / 1.367 GB, free: 1.73 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/1.424, allocations: 0 / 1.367 GB, free: 1.73 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0001443/1.424, allocations: 43.77 kB / 1.368 GB, free: 1.688 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/1.424, allocations: 55.41 kB / 1.368 GB, free: 1.621 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/1.425, allocations: 92.95 kB / 1.368 GB, free: 1.523 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/1.425, allocations: 25.7 kB / 1.368 GB, free: 1.492 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.998e-05/1.425, allocations: 91.48 kB / 1.368 GB, free: 1.402 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.518e-05/1.425, allocations: 7.844 kB / 1.368 GB, free: 1.395 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-06/1.425, allocations: 0 / 1.368 GB, free: 1.395 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001084/1.425, allocations: 318.2 kB / 1.368 GB, free: 1.078 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.646e-05/1.425, allocations: 7.969 kB / 1.368 GB, free: 1.07 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.221e-05/1.425, allocations: 7.062 kB / 1.368 GB, free: 1.066 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.07e-05/1.425, allocations: 4 kB / 1.368 GB, free: 1.062 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/1.425, allocations: 0 / 1.368 GB, free: 1.062 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.033e-05/1.425, allocations: 44.81 kB / 1.368 GB, free: 1.016 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/1.425, allocations: 4 kB / 1.368 GB, free: 1.012 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/1.425, allocations: 4.812 kB / 1.368 GB, free: 1.008 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/1.425, allocations: 0 / 1.368 GB, free: 1.008 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.856e-05/1.425, allocations: 12.09 kB / 1.368 GB, free: 0.9961 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/1.425, allocations: 3.984 kB / 1.368 GB, free: 0.9922 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.027e-05/1.425, allocations: 8 kB / 1.368 GB, free: 0.9844 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/1.425, allocations: 7.078 kB / 1.368 GB, free: 0.9805 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 (2): * Single equations (assignments): 2 * 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 5.505e-05/1.425, allocations: 105 kB / 1.368 GB, free: 0.8711 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.457e-05/1.425, allocations: 0 / 1.368 GB, free: 0.8711 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001051/1.425, allocations: 59.53 kB / 1.368 GB, free: 0.8164 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/1.425, allocations: 4.031 kB / 1.368 GB, free: 0.8125 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/1.425, allocations: 0 / 1.368 GB, free: 0.8125 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/1.425, allocations: 7.984 kB / 1.368 GB, free: 0.8047 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/1.426, allocations: 156.5 kB / 1.369 GB, free: 0.6055 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/1.426, allocations: 0 / 1.369 GB, free: 0.6055 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.346e-05/1.426, allocations: 11.98 kB / 1.369 GB, free: 0.5938 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/1.426, allocations: 3.984 kB / 1.369 GB, free: 0.5898 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/1.426, allocations: 0 / 1.369 GB, free: 0.5898 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/1.426, allocations: 0 / 1.369 GB, free: 0.5898 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/1.426, allocations: 0.9375 kB / 1.369 GB, free: 0.5898 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001138/1.426, allocations: 150.3 kB / 1.369 GB, free: 444 kB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.963e-05/1.426, allocations: 77.11 kB / 1.369 GB, free: 348 kB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/1.426, allocations: 4 kB / 1.369 GB, free: 344 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.778e-05/1.426, allocations: 4 kB / 1.369 GB, free: 340 kB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/1.426, allocations: 3.984 kB / 1.369 GB, free: 336 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/1.426, allocations: 4 kB / 1.369 GB, free: 332 kB / 0.823 GB Notification: Performance of sorting global known variables: time 3.403e-05/1.426, allocations: 82.5 kB / 1.369 GB, free: 252 kB / 0.823 GB Notification: Performance of sort global known variables: time 1.6e-07/1.426, allocations: 4 kB / 1.369 GB, free: 248 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002136/1.426, allocations: 12 kB / 1.369 GB, free: 236 kB / 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 (2): * Single equations (assignments): 2 * 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.0002156/1.427, allocations: 119.2 kB / 1.369 GB, free: 104 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 6.684e-05/1.427, allocations: 19.5 kB / 1.369 GB, free: 88 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/1.427, allocations: 0 / 1.369 GB, free: 88 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.125e-05/1.427, allocations: 11.75 kB / 1.369 GB, free: 80 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001528/1.427, allocations: 5.156 kB / 1.369 GB, free: 76 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001927/1.427, allocations: 60.67 kB / 1.369 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/1.427, allocations: 0.6809 MB / 1.37 GB, free: 15.29 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.151e-05/1.427, allocations: 0 / 1.37 GB, free: 15.29 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.816e-05/1.427, allocations: 7.562 kB / 1.37 GB, free: 15.28 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.427, allocations: 4 kB / 1.37 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of Templates: time 0.002477/1.43, allocations: 0.5631 MB / 1.37 GB, free: 14.72 MB / 0.8386 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","../files/Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches