Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1",fileNamePrefix="Buildings_9_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_9_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.00177/0.00177, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.002719/0.002719, allocations: 189.3 kB / 16.25 MB, free: 6.152 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.418/1.418, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.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.467/2.467, allocations: 390.2 MB / 0.6643 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 63.89 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9066/0.9082, allocations: 140.4 MB / 0.9491 GB, free: 9.305 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.002097/0.9103, allocations: 0.6366 MB / 0.9497 GB, free: 8.816 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000344/0.9107, allocations: 102.6 kB / 0.9498 GB, free: 8.738 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.31e-05/0.9107, allocations: 1.125 kB / 0.9498 GB, free: 8.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.069e-05/0.9108, allocations: 0 / 0.9498 GB, free: 8.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.611e-06/0.9108, allocations: 0 / 0.9498 GB, free: 8.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003431/0.9111, allocations: 29.78 kB / 0.9499 GB, free: 8.723 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.505e-05/0.9112, allocations: 5.094 kB / 0.9499 GB, free: 8.719 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.684e-05/0.9112, allocations: 1.062 kB / 0.9499 GB, free: 8.719 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.391e-05/0.9112, allocations: 0 / 0.9499 GB, free: 8.719 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.848e-05/0.9113, allocations: 5.078 kB / 0.9499 GB, free: 8.715 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.257e-06/0.9113, allocations: 0 / 0.9499 GB, free: 8.715 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001533/0.9114, allocations: 46.12 kB / 0.9499 GB, free: 8.688 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.545e-06/0.9115, allocations: 0 / 0.9499 GB, free: 8.688 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.578e-05/0.9115, allocations: 5.094 kB / 0.9499 GB, free: 8.684 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001012/0.9116, allocations: 27.7 kB / 0.9499 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.9116, allocations: 1.312 kB / 0.9499 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.505e-06/0.9116, allocations: 0 / 0.9499 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.9116, allocations: 0 / 0.9499 GB, free: 8.668 MB / 0.7169 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.0002424/0.9119, allocations: 320.2 kB / 0.9503 GB, free: 8.309 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.9119, allocations: 8.906 kB / 0.9503 GB, free: 8.309 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.799e-05/0.912, allocations: 2.094 kB / 0.9503 GB, free: 8.309 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.496e-05/0.912, allocations: 168.3 kB / 0.9504 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.912, allocations: 384 / 0.9504 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.185e-06/0.9121, allocations: 1.438 kB / 0.9504 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.048e-05/0.9122, allocations: 36.31 kB / 0.9505 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.9122, allocations: 192 / 0.9505 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.9122, allocations: 3.938 kB / 0.9505 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.9122, allocations: 1.125 kB / 0.9505 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.781e-05/0.9122, allocations: 5.125 kB / 0.9505 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001099/0.9123, allocations: 146.6 kB / 0.9506 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.899e-05/0.9124, allocations: 20.67 kB / 0.9506 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.647e-05/0.9124, allocations: 6.453 kB / 0.9506 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002051/0.9126, allocations: 88.09 kB / 0.9507 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.755e-05/0.9126, allocations: 32.06 kB / 0.9508 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.9126, allocations: 0 / 0.9508 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001327/0.9128, allocations: 37.91 kB / 0.9508 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/0.9128, allocations: 60.78 kB / 0.9508 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.666e-05/0.9128, allocations: 89.86 kB / 0.9509 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.973e-06/0.9128, allocations: 25.7 kB / 0.951 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.008e-05/0.9129, allocations: 81.52 kB / 0.951 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.9129, allocations: 3.906 kB / 0.951 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.279e-05/0.9129, allocations: 15.03 kB / 0.9511 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.008e-05/0.913, allocations: 312.1 kB / 0.9513 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.075e-05/0.913, allocations: 1.438 kB / 0.9514 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.702e-06/0.913, allocations: 9.578 kB / 0.9514 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.275e-05/0.913, allocations: 6.797 kB / 0.9514 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.913, allocations: 0 / 0.9514 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.619e-05/0.9131, allocations: 40.23 kB / 0.9514 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.9131, allocations: 4.875 kB / 0.9514 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.9131, allocations: 0 / 0.9514 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.9131, allocations: 3.938 kB / 0.9514 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.07e-05/0.9132, allocations: 5.5 kB / 0.9514 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.9132, allocations: 4.078 kB / 0.9514 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.061e-05/0.9132, allocations: 5.406 kB / 0.9514 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.9132, allocations: 0 / 0.9514 GB, free: 6.965 MB / 0.7169 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 4.604e-05/0.9133, allocations: 110.9 kB / 0.9515 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.938e-05/0.9133, allocations: 1.156 kB / 0.9515 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.497e-05/0.9134, allocations: 40.5 kB / 0.9516 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.9134, allocations: 1.438 kB / 0.9516 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.9134, allocations: 0 / 0.9516 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.9134, allocations: 3.938 kB / 0.9516 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.731e-05/0.9135, allocations: 154.9 kB / 0.9517 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.9135, allocations: 0 / 0.9517 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.167e-05/0.9135, allocations: 10.03 kB / 0.9517 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.9135, allocations: 0 / 0.9517 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.9135, allocations: 5.062 kB / 0.9517 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.9135, allocations: 0 / 0.9517 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.9135, allocations: 1.312 kB / 0.9517 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.268e-05/0.9136, allocations: 54.28 kB / 0.9518 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.718e-05/0.9136, allocations: 82.36 kB / 0.9519 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.9137, allocations: 7.938 kB / 0.9519 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.085e-06/0.9137, allocations: 1.219 kB / 0.9519 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.177e-06/0.9137, allocations: 0 / 0.9519 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.9137, allocations: 1.219 kB / 0.9519 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.732e-05/0.9137, allocations: 75.28 kB / 0.952 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.9137, allocations: 0 / 0.952 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002069/0.9139, allocations: 6.625 kB / 0.952 GB, free: 6.344 MB / 0.7169 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.0001742/0.9141, allocations: 117.9 kB / 0.9521 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.954e-05/0.9142, allocations: 8.25 kB / 0.9521 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.9142, allocations: 0 / 0.9521 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.033e-06/0.9142, allocations: 2 kB / 0.9521 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001353/0.9143, allocations: 1.906 kB / 0.9521 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001588/0.9145, allocations: 78.44 kB / 0.9522 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001381/0.9146, allocations: 0.6779 MB / 0.9528 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.191e-05/0.9147, allocations: 0 / 0.9528 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.385e-05/0.9147, allocations: 8.719 kB / 0.9528 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of SimCode: time 3e-07/0.9147, allocations: 0 / 0.9528 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of Templates: time 0.002873/0.9176, allocations: 400.2 kB / 0.9532 GB, free: 5.223 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches