Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1.y",fileNamePrefix="Buildings_10_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.009621/0.009621, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001983/0.001983, allocations: 190.8 kB / 16.67 MB, free: 5.969 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.505/2.505, allocations: 437 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 68.12 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8702/0.8714, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002951/0.8744, allocations: 1.429 MB / 1.168 GB, free: 2.391 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0004796/0.8749, allocations: 174.6 kB / 1.168 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.278e-05/0.875, allocations: 0 / 1.168 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.82e-05/0.875, allocations: 4 kB / 1.168 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.977e-05/0.8751, allocations: 3.938 kB / 1.168 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003812/0.8755, allocations: 35.91 kB / 1.168 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.097e-05/0.8756, allocations: 27.91 kB / 1.168 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.8757, allocations: 7.984 kB / 1.168 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.59e-05/0.8758, allocations: 7.938 kB / 1.168 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.952e-05/0.8758, allocations: 7.984 kB / 1.168 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.8758, allocations: 4 kB / 1.168 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001571/0.876, allocations: 35.91 kB / 1.168 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.626e-05/0.876, allocations: 11.94 kB / 1.168 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.862e-05/0.876, allocations: 11.98 kB / 1.168 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.8762, allocations: 47.39 kB / 1.168 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.8762, allocations: 0 / 1.168 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.834e-06/0.8762, allocations: 0 / 1.168 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.8762, allocations: 0 / 1.168 GB, free: 2.02 MB / 0.8887 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.0004685/0.8767, allocations: 344.4 kB / 1.169 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.8768, allocations: 8.922 kB / 1.169 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.135e-05/0.8768, allocations: 4.938 kB / 1.169 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.8769, allocations: 168.3 kB / 1.169 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.877, allocations: 384 / 1.169 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.877, allocations: 384 / 1.169 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.8772, allocations: 54.17 kB / 1.169 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.8772, allocations: 192 / 1.169 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.8772, allocations: 3.938 kB / 1.169 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.8772, allocations: 4 kB / 1.169 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001652/0.8774, allocations: 39.89 kB / 1.169 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004141/0.8778, allocations: 248.9 kB / 1.169 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.8779, allocations: 46.47 kB / 1.169 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.724e-05/0.878, allocations: 24.91 kB / 1.169 GB, free: 0.9375 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001946/0.8782, allocations: 85.09 kB / 1.169 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/0.8783, allocations: 34.56 kB / 1.169 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.193e-06/0.8783, allocations: 0 / 1.169 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0003615/0.8787, allocations: 81.64 kB / 1.169 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/0.8787, allocations: 51.41 kB / 1.17 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.396e-05/0.8788, allocations: 105.8 kB / 1.17 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.8788, allocations: 29.83 kB / 1.17 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.739e-05/0.8789, allocations: 84.14 kB / 1.17 GB, free: 420 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/0.8789, allocations: 3.953 kB / 1.17 GB, free: 416 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.219e-05/0.8789, allocations: 13.72 kB / 1.17 GB, free: 396 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.879, allocations: 314.8 kB / 1.17 GB, free: 72 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.522e-05/0.8791, allocations: 23.91 kB / 1.17 GB, free: 48 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.065e-05/0.8792, allocations: 11.98 kB / 1.17 GB, free: 36 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.8794, allocations: 40.95 kB / 1.17 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.8794, allocations: 0 / 1.17 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002156/0.8796, allocations: 73.48 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.8796, allocations: 4 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.8797, allocations: 0 / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.8797, allocations: 32 / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.548e-05/0.8798, allocations: 19.92 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.8798, allocations: 0 / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.812e-05/0.8798, allocations: 8 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.8799, allocations: 0 / 1.17 GB, free: 15.88 MB / 0.9044 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 9.807e-05/0.88, allocations: 113.8 kB / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.213e-05/0.88, allocations: 4 kB / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002509/0.8803, allocations: 72.78 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.8803, allocations: 0 / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.8803, allocations: 192 / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.8803, allocations: 4 kB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000168/0.8805, allocations: 165.5 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.8805, allocations: 3.984 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.927e-05/0.8805, allocations: 4 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.8805, allocations: 7.875 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.557e-06/0.8806, allocations: 4 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.8806, allocations: 0 / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.8806, allocations: 4.031 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002569/0.8808, allocations: 163.5 kB / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.778e-05/0.8809, allocations: 85.05 kB / 1.171 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.8809, allocations: 0 / 1.171 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.444e-05/0.881, allocations: 4 kB / 1.171 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.078e-05/0.881, allocations: 8.016 kB / 1.171 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.8811, allocations: 4 kB / 1.171 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.781e-05/0.8811, allocations: 75.28 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8811, allocations: 0 / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000246/0.8813, allocations: 12 kB / 1.171 GB, free: 15.06 MB / 0.9044 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.000185/0.8815, allocations: 115.2 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002215/0.8818, allocations: 39.91 kB / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.8818, allocations: 0 / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.539e-05/0.8819, allocations: 19.97 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/0.8822, allocations: 15.94 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002895/0.8825, allocations: 101.5 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/0.8829, allocations: 0.6807 MB / 1.172 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.638e-05/0.8829, allocations: 0 / 1.172 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.468e-05/0.883, allocations: 11.42 kB / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of SimCode: time 4.31e-07/0.883, allocations: 0 / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of Templates: time 0.003135/0.8861, allocations: 0.6481 MB / 1.172 GB, free: 13.37 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches