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.001725/0.001726, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00216/0.00216, allocations: 197.8 kB / 16.54 MB, free: 6.672 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.346/1.346, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.603/2.603, allocations: 437 MB / 0.7104 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 67.89 kB / 0.8692 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6993/0.7007, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.00207/0.7028, allocations: 0.5724 MB / 1.018 GB, free: 1.93 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003922/0.7032, allocations: 95.64 kB / 1.018 GB, free: 1.836 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.336e-05/0.7033, allocations: 0 / 1.018 GB, free: 1.836 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.892e-05/0.7033, allocations: 3.938 kB / 1.018 GB, free: 1.832 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.33e-06/0.7033, allocations: 0 / 1.018 GB, free: 1.832 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003858/0.7037, allocations: 35.89 kB / 1.018 GB, free: 1.797 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.258e-05/0.7038, allocations: 8 kB / 1.018 GB, free: 1.789 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.404e-05/0.7038, allocations: 0 / 1.018 GB, free: 1.789 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.47e-05/0.7038, allocations: 3.938 kB / 1.018 GB, free: 1.785 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.778e-05/0.7039, allocations: 0 / 1.018 GB, free: 1.785 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 8.877e-06/0.7039, allocations: 0 / 1.018 GB, free: 1.785 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001627/0.704, allocations: 39.89 kB / 1.018 GB, free: 1.746 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 8.366e-06/0.7041, allocations: 0 / 1.018 GB, free: 1.746 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.811e-05/0.7041, allocations: 4 kB / 1.018 GB, free: 1.742 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.7042, allocations: 31.95 kB / 1.018 GB, free: 1.711 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.7042, allocations: 3.938 kB / 1.018 GB, free: 1.707 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.184e-06/0.7042, allocations: 0 / 1.018 GB, free: 1.707 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.7042, allocations: 4 kB / 1.018 GB, free: 1.703 MB / 0.7637 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.0002822/0.7045, allocations: 321.3 kB / 1.018 GB, free: 1.34 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.7046, allocations: 8.031 kB / 1.018 GB, free: 1.332 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.707e-05/0.7046, allocations: 0.9375 kB / 1.018 GB, free: 1.332 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.851e-05/0.7047, allocations: 160.4 kB / 1.019 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.7047, allocations: 4.375 kB / 1.019 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.826e-06/0.7048, allocations: 4.359 kB / 1.019 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.7049, allocations: 30.2 kB / 1.019 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.7049, allocations: 4.188 kB / 1.019 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.7049, allocations: 7.922 kB / 1.019 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.7049, allocations: 0 / 1.019 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.085e-05/0.7049, allocations: 4 kB / 1.019 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001396/0.7051, allocations: 145.7 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.197e-05/0.7051, allocations: 18.61 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.88e-05/0.7051, allocations: 8.844 kB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002415/0.7054, allocations: 81.17 kB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.7054, allocations: 42.55 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.7054, allocations: 3.938 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001601/0.7056, allocations: 33.64 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.7057, allocations: 51.41 kB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.211e-05/0.7057, allocations: 89.86 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.7057, allocations: 29.7 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 3.189e-05/0.7058, allocations: 80.14 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 3.661e-05/0.7058, allocations: 8.031 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.98e-05/0.7058, allocations: 9.719 kB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.706, allocations: 314.8 kB / 1.019 GB, free: 40 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.241e-05/0.706, allocations: 7.984 kB / 1.019 GB, free: 32 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.022e-06/0.706, allocations: 0 / 1.019 GB, free: 32 kB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.95e-05/0.706, allocations: 12.8 kB / 1.019 GB, free: 16 kB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.706, allocations: 0 / 1.019 GB, free: 16 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.886e-05/0.7061, allocations: 33.77 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.7061, allocations: 8.031 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.7062, allocations: 3.938 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.7062, allocations: 7.875 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.64e-05/0.7062, allocations: 4 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.7062, allocations: 0 / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.096e-05/0.7062, allocations: 0 / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.7063, allocations: 3.984 kB / 1.02 GB, free: 15.95 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 6.513e-05/0.7063, allocations: 113.8 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.7064, allocations: 0 / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.552e-05/0.7065, allocations: 44.7 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.7065, allocations: 0 / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.7065, allocations: 0 / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.7065, allocations: 0 / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.67e-05/0.7066, allocations: 145.7 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.7066, allocations: 4 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.458e-05/0.7066, allocations: 0 / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.7066, allocations: 0 / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.7066, allocations: 3.938 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.7066, allocations: 0 / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.7066, allocations: 8.016 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.639e-05/0.7067, allocations: 65.06 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.089e-05/0.7068, allocations: 77.11 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.7068, allocations: 3.938 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.714e-06/0.7068, allocations: 0 / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.097e-05/0.7068, allocations: 0 / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.7068, allocations: 4 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.792e-05/0.7069, allocations: 79.31 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7069, allocations: 0 / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00021/0.7071, allocations: 12 kB / 1.02 GB, free: 15.3 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.0001836/0.7073, allocations: 111.2 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.343e-05/0.7073, allocations: 4 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.7074, allocations: 0 / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.067e-06/0.7074, allocations: 8.062 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001347/0.7075, allocations: 3.984 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002163/0.7077, allocations: 84.91 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002017/0.7079, allocations: 0.6767 MB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.154e-05/0.708, allocations: 0 / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.862e-05/0.708, allocations: 7.438 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of SimCode: time 3.2e-07/0.708, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of Templates: time 0.002559/0.7106, allocations: 402.7 kB / 1.021 GB, free: 13.95 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