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/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.033/2.033, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001025/0.001025, allocations: 184.4 kB / 487.4 MB, free: 5.027 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 221.5 MB / 0.7824 GB, free: 0.9805 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009249/0.0009249, allocations: 87.92 kB / 0.9219 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.829e-05/1.831e-05, allocations: 5.75 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2317, allocations: 142.4 MB / 1.206 GB, free: 43.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8066/1.038, allocations: 148.7 MB / 1.351 GB, free: 18.41 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001927/1.039, allocations: 67.75 kB / 1.351 GB, free: 18.41 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003584/1.042, allocations: 1.044 MB / 1.352 GB, free: 34.06 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.036e-06/1.042, allocations: 0 / 1.352 GB, free: 34.06 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.171e-06/1.042, allocations: 0 / 1.352 GB, free: 34.06 MB / 0.8386 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.0002965/1.043, allocations: 338.7 kB / 1.353 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/1.043, allocations: 9.656 kB / 1.353 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.509e-05/1.043, allocations: 9.859 kB / 1.353 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.551e-05/1.043, allocations: 172.8 kB / 1.353 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/1.043, allocations: 0 / 1.353 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.738e-06/1.043, allocations: 1.281 kB / 1.353 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.908e-05/1.043, allocations: 12.66 kB / 1.353 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.738e-05/1.043, allocations: 36.09 kB / 1.353 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/1.043, allocations: 0 / 1.353 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/1.043, allocations: 0 / 1.353 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/1.043, allocations: 0.5625 kB / 1.353 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003171/1.043, allocations: 249.1 kB / 1.353 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.964e-05/1.043, allocations: 26.14 kB / 1.353 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.982e-05/1.043, allocations: 8.734 kB / 1.353 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001388/1.043, allocations: 88.55 kB / 1.353 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.446e-05/1.043, allocations: 34.56 kB / 1.353 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.193e-06/1.043, allocations: 0 / 1.353 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001522/1.044, allocations: 41.73 kB / 1.353 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.581e-05/1.044, allocations: 55.94 kB / 1.353 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.269e-05/1.044, allocations: 96.67 kB / 1.353 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.144e-06/1.044, allocations: 25.7 kB / 1.353 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.476e-05/1.044, allocations: 82.47 kB / 1.353 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.358e-05/1.044, allocations: 8.547 kB / 1.353 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.806e-06/1.044, allocations: 4.031 kB / 1.353 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.167e-05/1.044, allocations: 323.5 kB / 1.354 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.255e-05/1.044, allocations: 0 / 1.354 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.046e-05/1.044, allocations: 7.75 kB / 1.354 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.628e-05/1.044, allocations: 4.594 kB / 1.354 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/1.044, allocations: 0 / 1.354 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.252e-05/1.044, allocations: 38.59 kB / 1.354 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/1.044, allocations: 14.55 kB / 1.354 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.768e-06/1.044, allocations: 4.094 kB / 1.354 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/1.044, allocations: 1.438 kB / 1.354 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.233e-05/1.044, allocations: 10.64 kB / 1.354 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/1.044, allocations: 0.7031 kB / 1.354 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.876e-05/1.044, allocations: 11.25 kB / 1.354 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/1.044, allocations: 192 / 1.354 GB, free: 32.39 MB / 0.8386 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.55e-05/1.044, allocations: 105.6 kB / 1.354 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.367e-05/1.044, allocations: 12.67 kB / 1.354 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.347e-05/1.044, allocations: 51.62 kB / 1.354 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/1.044, allocations: 0 / 1.354 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/1.044, allocations: 0 / 1.354 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/1.044, allocations: 0.6094 kB / 1.354 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.477e-05/1.045, allocations: 130.9 kB / 1.354 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/1.045, allocations: 3.953 kB / 1.354 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.056e-05/1.045, allocations: 13.53 kB / 1.354 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/1.045, allocations: 8.547 kB / 1.354 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/1.045, allocations: 7 kB / 1.354 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/1.045, allocations: 8.625 kB / 1.354 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/1.045, allocations: 0 / 1.354 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001027/1.045, allocations: 133 kB / 1.354 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.647e-05/1.045, allocations: 81.86 kB / 1.354 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/1.045, allocations: 0 / 1.354 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.193e-05/1.045, allocations: 14.53 kB / 1.354 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.056e-05/1.045, allocations: 1.547 kB / 1.354 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/1.045, allocations: 2.875 kB / 1.354 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.128e-05/1.045, allocations: 79.89 kB / 1.355 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.045, allocations: 0 / 1.355 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002146/1.045, allocations: 16.72 kB / 1.355 GB, free: 31.75 MB / 0.8386 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.0001784/1.045, allocations: 121.2 kB / 1.355 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.493e-05/1.045, allocations: 16 kB / 1.355 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/1.046, allocations: 3.938 kB / 1.355 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.565e-05/1.046, allocations: 7.812 kB / 1.355 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001581/1.046, allocations: 5.812 kB / 1.355 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001518/1.046, allocations: 59.58 kB / 1.355 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002021/1.046, allocations: 0.677 MB / 1.355 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.117e-05/1.046, allocations: 7.938 kB / 1.355 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.645e-05/1.046, allocations: 8.047 kB / 1.355 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of SimCode: time 2.21e-07/1.046, allocations: 0 / 1.355 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of Templates: time 0.002261/1.048, allocations: 0.5282 MB / 1.356 GB, free: 30.8 MB / 0.8386 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","../files/Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches