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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00849/0.008491, allocations: 99.81 kB / 15.73 MB, free: 6.062 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.0026/0.0026, allocations: 195.1 kB / 16.67 MB, free: 5.973 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.419/2.419, allocations: 390.2 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 59.91 kB / 0.9508 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.013/1.014, allocations: 140.4 MB / 1.088 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002756/1.017, allocations: 1.431 MB / 1.089 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0004815/1.017, allocations: 160.1 kB / 1.089 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.206e-05/1.017, allocations: 0 / 1.089 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.771e-05/1.017, allocations: 1.562 kB / 1.089 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.625e-05/1.017, allocations: 7.875 kB / 1.089 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003626/1.018, allocations: 34.48 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.413e-05/1.018, allocations: 27.92 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/1.018, allocations: 7.812 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.037e-05/1.018, allocations: 12.91 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.795e-05/1.018, allocations: 13.52 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/1.018, allocations: 2.25 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001464/1.018, allocations: 38.86 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.338e-05/1.018, allocations: 2.844 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.707e-05/1.018, allocations: 10.53 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001622/1.018, allocations: 46.27 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/1.018, allocations: 0 / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.425e-06/1.019, allocations: 4 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.734e-06/1.019, allocations: 1.094 kB / 1.09 GB, free: 4.34 MB / 0.8575 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.0004383/1.019, allocations: 345.7 kB / 1.09 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/1.019, allocations: 9.938 kB / 1.09 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.574e-05/1.019, allocations: 6.734 kB / 1.09 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.933e-05/1.019, allocations: 166.7 kB / 1.09 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.687e-06/1.019, allocations: 1.438 kB / 1.09 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/1.019, allocations: 1.469 kB / 1.09 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/1.019, allocations: 54.39 kB / 1.09 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/1.019, allocations: 192 / 1.09 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/1.019, allocations: 3.938 kB / 1.09 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/1.019, allocations: 1.062 kB / 1.09 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000174/1.02, allocations: 32.27 kB / 1.09 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000293/1.02, allocations: 243 kB / 1.091 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/1.02, allocations: 48.02 kB / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.002e-05/1.02, allocations: 24.34 kB / 1.091 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001591/1.02, allocations: 83.95 kB / 1.091 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/1.02, allocations: 32.27 kB / 1.091 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/1.02, allocations: 0 / 1.091 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003738/1.021, allocations: 92.52 kB / 1.091 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.418e-05/1.021, allocations: 55.34 kB / 1.091 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.392e-05/1.021, allocations: 100.8 kB / 1.091 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.277e-06/1.021, allocations: 27.47 kB / 1.091 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.12e-05/1.021, allocations: 82.02 kB / 1.091 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.957e-05/1.021, allocations: 4.516 kB / 1.091 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.86e-05/1.021, allocations: 20.61 kB / 1.091 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.765e-05/1.021, allocations: 313.2 kB / 1.091 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.375e-05/1.021, allocations: 22.48 kB / 1.091 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.264e-05/1.021, allocations: 14.58 kB / 1.091 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/1.021, allocations: 36.31 kB / 1.091 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/1.021, allocations: 4.781 kB / 1.091 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002019/1.022, allocations: 71.14 kB / 1.091 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/1.022, allocations: 5.281 kB / 1.091 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/1.022, allocations: 0.9688 kB / 1.091 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/1.022, allocations: 0.5625 kB / 1.091 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.868e-05/1.022, allocations: 12.75 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/1.022, allocations: 4.734 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.871e-05/1.022, allocations: 10 kB / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/1.022, allocations: 1.469 kB / 1.092 GB, free: 2.523 MB / 0.8575 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 5.719e-05/1.022, allocations: 111.9 kB / 1.092 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.639e-05/1.022, allocations: 1.844 kB / 1.092 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002397/1.022, allocations: 76.02 kB / 1.092 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/1.022, allocations: 0 / 1.092 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/1.022, allocations: 1 kB / 1.092 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/1.022, allocations: 4.031 kB / 1.092 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/1.022, allocations: 171.6 kB / 1.092 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/1.022, allocations: 5 kB / 1.092 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.726e-05/1.022, allocations: 8.391 kB / 1.092 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/1.022, allocations: 1.094 kB / 1.092 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/1.022, allocations: 0.6094 kB / 1.092 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/1.022, allocations: 1.219 kB / 1.092 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/1.022, allocations: 4 kB / 1.092 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002395/1.023, allocations: 166.3 kB / 1.092 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.101e-05/1.023, allocations: 79.33 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/1.023, allocations: 1.719 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.413e-05/1.023, allocations: 5.578 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.116e-05/1.023, allocations: 1.75 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.616e-06/1.023, allocations: 1.688 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.683e-05/1.023, allocations: 83.86 kB / 1.092 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/1.023, allocations: 1.156 kB / 1.092 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002424/1.023, allocations: 13.23 kB / 1.092 GB, free: 1.82 MB / 0.8575 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.0001947/1.023, allocations: 123 kB / 1.092 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002278/1.024, allocations: 38.77 kB / 1.092 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/1.024, allocations: 1.188 kB / 1.092 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.547e-05/1.024, allocations: 16.95 kB / 1.092 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/1.024, allocations: 9.547 kB / 1.092 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002252/1.024, allocations: 97.34 kB / 1.093 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001053/1.024, allocations: 0.6756 MB / 1.093 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.351e-05/1.024, allocations: 2.016 kB / 1.093 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.766e-05/1.024, allocations: 12.5 kB / 1.093 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of SimCode: time 2.5e-07/1.024, allocations: 3.938 kB / 1.093 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of Templates: time 0.003065/1.027, allocations: 0.6379 MB / 1.094 GB, free: 0.8047 MB / 0.8575 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches