Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0008997/0.0008996, allocations: 98.88 kB / 16.02 MB, free: 76 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.0009701/0.0009701, allocations: 185.6 kB / 16.92 MB, free: 6.684 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.38/1.38, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.71/2.71, allocations: 462.6 MB / 0.7371 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003659/0.0003659, allocations: 11.59 kB / 0.9034 GB, free: 36.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3372, allocations: 159.6 MB / 1.059 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.0007147/0.3379, allocations: 326.8 kB / 1.06 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003586/0.3383, allocations: 103.6 kB / 1.06 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.017e-06/0.3383, allocations: 0 / 1.06 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.38e-05/0.3383, allocations: 0 / 1.06 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.879e-06/0.3383, allocations: 0 / 1.06 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002653/0.3386, allocations: 23.98 kB / 1.06 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 2.869e-05/0.3387, allocations: 0 / 1.06 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.356e-05/0.3387, allocations: 4 kB / 1.06 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.385e-05/0.3387, allocations: 4 kB / 1.06 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 1.777e-05/0.3387, allocations: 0 / 1.06 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.3388, allocations: 0 / 1.06 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001535/0.3389, allocations: 47.88 kB / 1.06 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.314e-06/0.3389, allocations: 0 / 1.06 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.546e-05/0.339, allocations: 25.7 kB / 1.06 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.174e-05/0.339, allocations: 23.92 kB / 1.06 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3391, allocations: 0 / 1.06 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3391, allocations: 7.875 kB / 1.06 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.3391, allocations: 0 / 1.06 GB, free: 4.359 MB / 0.8106 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.0002517/0.3393, allocations: 327.5 kB / 1.06 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.3394, allocations: 8.031 kB / 1.06 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.895e-05/0.3394, allocations: 0.9375 kB / 1.06 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.614e-05/0.3395, allocations: 164.4 kB / 1.06 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.3395, allocations: 384 / 1.06 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.402e-06/0.3395, allocations: 384 / 1.06 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.948e-05/0.3396, allocations: 30.25 kB / 1.06 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.3396, allocations: 192 / 1.06 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.3397, allocations: 7.922 kB / 1.06 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.3397, allocations: 8 kB / 1.06 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.653e-05/0.3397, allocations: 0 / 1.06 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001262/0.3398, allocations: 149.6 kB / 1.061 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 3.372e-05/0.3399, allocations: 18.61 kB / 1.061 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.465e-05/0.3399, allocations: 4.859 kB / 1.061 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000207/0.3401, allocations: 89.16 kB / 1.061 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.3401, allocations: 34.56 kB / 1.061 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.3401, allocations: 0 / 1.061 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001344/0.3403, allocations: 41.56 kB / 1.061 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.3403, allocations: 51.41 kB / 1.061 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.21e-05/0.3404, allocations: 93.86 kB / 1.061 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.3404, allocations: 25.7 kB / 1.061 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.641e-05/0.3404, allocations: 84.12 kB / 1.061 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.759e-05/0.3404, allocations: 0 / 1.061 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.863e-05/0.3405, allocations: 9.719 kB / 1.061 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.297e-05/0.3406, allocations: 319 kB / 1.061 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.584e-06/0.3406, allocations: 0 / 1.061 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.721e-06/0.3406, allocations: 4 kB / 1.061 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.16e-05/0.3406, allocations: 4.859 kB / 1.061 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3406, allocations: 0 / 1.061 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.564e-05/0.3407, allocations: 41.62 kB / 1.061 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.3407, allocations: 4 kB / 1.061 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3407, allocations: 0 / 1.061 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.3407, allocations: 11.97 kB / 1.061 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.755e-05/0.3408, allocations: 4 kB / 1.061 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.3408, allocations: 0 / 1.061 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.298e-06/0.3408, allocations: 0 / 1.061 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-06/0.3408, allocations: 0 / 1.061 GB, free: 2.609 MB / 0.8106 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 5.528e-05/0.3409, allocations: 109.8 kB / 1.061 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.982e-05/0.3409, allocations: 4 kB / 1.061 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.766e-05/0.341, allocations: 40.75 kB / 1.061 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.341, allocations: 3.969 kB / 1.061 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.341, allocations: 4 kB / 1.061 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.341, allocations: 0 / 1.061 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.672e-05/0.3411, allocations: 149.6 kB / 1.062 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3411, allocations: 4 kB / 1.062 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.204e-05/0.3411, allocations: 4 kB / 1.062 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.3411, allocations: 0 / 1.062 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.3411, allocations: 3.938 kB / 1.062 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.3411, allocations: 0 / 1.062 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3411, allocations: 0 / 1.062 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.866e-05/0.3412, allocations: 61.14 kB / 1.062 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.88e-05/0.3412, allocations: 81.09 kB / 1.062 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.029e-05/0.3413, allocations: 3.938 kB / 1.062 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.853e-06/0.3413, allocations: 0 / 1.062 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.288e-05/0.3413, allocations: 0 / 1.062 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/0.3413, allocations: 0 / 1.062 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.274e-05/0.3413, allocations: 75.28 kB / 1.062 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3413, allocations: 4 kB / 1.062 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001846/0.3415, allocations: 12.03 kB / 1.062 GB, free: 1.961 MB / 0.8106 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.0001964/0.3417, allocations: 119.2 kB / 1.062 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 5.29e-05/0.3418, allocations: 4 kB / 1.062 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3418, allocations: 0 / 1.062 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.09e-06/0.3418, allocations: 0 / 1.062 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001254/0.3419, allocations: 6.812 kB / 1.062 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001696/0.3421, allocations: 116.4 kB / 1.062 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001915/0.3423, allocations: 0.6692 MB / 1.063 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.108e-05/0.3423, allocations: 7.438 kB / 1.063 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of SimCode: time 2.11e-07/0.3423, allocations: 0 / 1.063 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of Templates: time 0.001743/0.3441, allocations: 0.5415 MB / 1.063 GB, free: 444 kB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches