Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.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.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1",fileNamePrefix="Buildings_10_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_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.01041/0.01041, allocations: 172.2 kB / 16.26 MB, free: 6.676 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.471/1.471, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.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.705/2.705, allocations: 437.8 MB / 0.7121 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005428/0.0005428, allocations: 15.94 kB / 0.8728 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7682/0.7688, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.000726/0.7696, allocations: 321.4 kB / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0003618/0.7699, allocations: 99.64 kB / 1.023 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.827e-06/0.77, allocations: 0 / 1.023 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.249e-05/0.77, allocations: 8 kB / 1.023 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.23e-06/0.77, allocations: 3.938 kB / 1.023 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002892/0.7703, allocations: 23.97 kB / 1.023 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 3.671e-05/0.7704, allocations: 7.984 kB / 1.023 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.426e-05/0.7704, allocations: 0 / 1.023 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.418e-05/0.7704, allocations: 0 / 1.023 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 1.933e-05/0.7705, allocations: 0 / 1.023 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.707e-06/0.7705, allocations: 0 / 1.023 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000166/0.7707, allocations: 43.91 kB / 1.024 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.964e-06/0.7707, allocations: 0 / 1.024 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.489e-05/0.7707, allocations: 29.7 kB / 1.024 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001082/0.7708, allocations: 39.83 kB / 1.024 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.7708, allocations: 0 / 1.024 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.914e-06/0.7708, allocations: 0 / 1.024 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.477e-06/0.7708, allocations: 0 / 1.024 GB, free: 15.29 MB / 0.7794 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.0002643/0.7711, allocations: 315.6 kB / 1.024 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.7712, allocations: 11.97 kB / 1.024 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.718e-05/0.7712, allocations: 4.938 kB / 1.024 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.511e-05/0.7713, allocations: 160.4 kB / 1.024 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.7713, allocations: 384 / 1.024 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.776e-06/0.7713, allocations: 4.375 kB / 1.024 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.745e-05/0.7714, allocations: 34.25 kB / 1.024 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.7714, allocations: 11.94 kB / 1.024 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-06/0.7715, allocations: 0 / 1.024 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.7715, allocations: 0 / 1.024 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.038e-05/0.7715, allocations: 3.938 kB / 1.024 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001255/0.7716, allocations: 141.7 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 3.721e-05/0.7717, allocations: 18.61 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.651e-05/0.7717, allocations: 8.859 kB / 1.024 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002029/0.7719, allocations: 89.16 kB / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.7719, allocations: 30.56 kB / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.7719, allocations: 0 / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001479/0.7721, allocations: 45.56 kB / 1.024 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.7721, allocations: 51.41 kB / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.414e-05/0.7722, allocations: 89.98 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.7722, allocations: 29.7 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.333e-05/0.7722, allocations: 80.14 kB / 1.025 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.696e-05/0.7723, allocations: 7.906 kB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.112e-05/0.7723, allocations: 9.719 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.7724, allocations: 310.8 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.768e-06/0.7724, allocations: 4 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.659e-06/0.7724, allocations: 0 / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.523e-05/0.7724, allocations: 12.92 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.7725, allocations: 0 / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.106e-05/0.7725, allocations: 37.62 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.7726, allocations: 7.938 kB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.7726, allocations: 3.938 kB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.849e-06/0.7726, allocations: 0 / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.941e-05/0.7726, allocations: 8 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.7726, allocations: 0 / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.888e-06/0.7726, allocations: 0 / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.7727, allocations: 0 / 1.025 GB, free: 13.55 MB / 0.7794 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 (1): * Single equations (assignments): 1 * 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 7.09e-05/0.7727, allocations: 115.2 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.96e-05/0.7728, allocations: 0 / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.592e-05/0.7728, allocations: 44.69 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.7728, allocations: 0 / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.7729, allocations: 0 / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.7729, allocations: 0 / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.485e-05/0.773, allocations: 153.6 kB / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.773, allocations: 0 / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.252e-05/0.773, allocations: 4 kB / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.773, allocations: 4.031 kB / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.773, allocations: 3.938 kB / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.773, allocations: 0 / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.773, allocations: 0 / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.297e-05/0.7731, allocations: 53.14 kB / 1.025 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.822e-05/0.7732, allocations: 85.08 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.7732, allocations: 7.938 kB / 1.025 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.253e-06/0.7732, allocations: 0 / 1.025 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.658e-06/0.7732, allocations: 4.031 kB / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.7732, allocations: 4 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.633e-05/0.7732, allocations: 75.28 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7732, allocations: 3.938 kB / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002048/0.7735, allocations: 4 kB / 1.026 GB, free: 12.9 MB / 0.7794 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 (1): * Single equations (assignments): 1 * 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.0002095/0.7737, allocations: 119.2 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.879e-05/0.7737, allocations: 8 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.7737, allocations: 0 / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.944e-06/0.7738, allocations: 4 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001272/0.7739, allocations: 0 / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001558/0.7741, allocations: 78.69 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002208/0.7743, allocations: 0.673 MB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.257e-05/0.7743, allocations: 4 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.068e-05/0.7743, allocations: 7.438 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of SimCode: time 3.51e-07/0.7743, allocations: 4.125 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of Templates: time 0.002272/0.7766, allocations: 388.4 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches