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.00156/0.00156, allocations: 109.7 kB / 16.41 MB, free: 6.477 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.001566/0.001567, allocations: 183 kB / 17.34 MB, free: 5.75 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 / 241 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.507/2.507, allocations: 390.3 MB / 0.6655 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 63.91 kB / 0.9516 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7987/0.7999, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001644/0.8016, allocations: 0.5862 MB / 1.089 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003679/0.802, allocations: 99.59 kB / 1.089 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.2e-05/0.802, allocations: 0 / 1.089 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.199e-05/0.802, allocations: 3.938 kB / 1.089 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.211e-06/0.802, allocations: 0 / 1.089 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003342/0.8024, allocations: 30.88 kB / 1.089 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 3.832e-05/0.8024, allocations: 5.672 kB / 1.089 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.114e-05/0.8025, allocations: 2.688 kB / 1.089 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.406e-05/0.8025, allocations: 7.984 kB / 1.089 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 1.717e-05/0.8025, allocations: 5.031 kB / 1.089 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.137e-06/0.8025, allocations: 0 / 1.089 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001595/0.8027, allocations: 36.77 kB / 1.089 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.378e-06/0.8027, allocations: 0.6094 kB / 1.089 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.093e-05/0.8027, allocations: 1.125 kB / 1.089 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001115/0.8029, allocations: 27.58 kB / 1.089 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.8029, allocations: 1.062 kB / 1.089 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8029, allocations: 0 / 1.089 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.8029, allocations: 0 / 1.089 GB, free: 5.055 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002424/0.8031, allocations: 322.7 kB / 1.09 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.8032, allocations: 9.469 kB / 1.09 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.988e-05/0.8032, allocations: 1.875 kB / 1.09 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.745e-05/0.8033, allocations: 161.8 kB / 1.09 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.8033, allocations: 1.312 kB / 1.09 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.8033, allocations: 4.375 kB / 1.09 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.894e-05/0.8034, allocations: 33.3 kB / 1.09 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.8034, allocations: 1.281 kB / 1.09 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.8034, allocations: 3.938 kB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.8034, allocations: 0 / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.854e-05/0.8035, allocations: 6.703 kB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001049/0.8036, allocations: 151.9 kB / 1.09 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.595e-05/0.8036, allocations: 17.66 kB / 1.09 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.514e-05/0.8036, allocations: 5.469 kB / 1.09 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001994/0.8038, allocations: 88.31 kB / 1.09 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.8039, allocations: 36.23 kB / 1.09 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.8039, allocations: 4 kB / 1.09 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001376/0.804, allocations: 39.64 kB / 1.09 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.804, allocations: 53.02 kB / 1.09 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.08e-05/0.8041, allocations: 89.86 kB / 1.09 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.772e-06/0.8041, allocations: 26.41 kB / 1.09 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.318e-06/0.8041, allocations: 80.14 kB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.8041, allocations: 1.156 kB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.324e-05/0.8041, allocations: 11.67 kB / 1.091 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.419e-05/0.8042, allocations: 317 kB / 1.091 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.468e-06/0.8042, allocations: 1.219 kB / 1.091 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.492e-06/0.8042, allocations: 1.797 kB / 1.091 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.263e-05/0.8043, allocations: 14.92 kB / 1.091 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.8043, allocations: 0 / 1.091 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.454e-05/0.8043, allocations: 33.47 kB / 1.091 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.8043, allocations: 4.969 kB / 1.091 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.8044, allocations: 1.125 kB / 1.091 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.8044, allocations: 8.031 kB / 1.091 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.594e-05/0.8044, allocations: 2.859 kB / 1.091 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.8044, allocations: 0 / 1.091 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.095e-05/0.8044, allocations: 0.6562 kB / 1.091 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.8044, allocations: 9.062 kB / 1.091 GB, free: 3.375 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 (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.877e-05/0.8045, allocations: 111.7 kB / 1.091 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.804e-05/0.8045, allocations: 1.125 kB / 1.091 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.829e-05/0.8046, allocations: 46.77 kB / 1.091 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.8046, allocations: 4.547 kB / 1.091 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.8046, allocations: 1.062 kB / 1.091 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.8046, allocations: 0.75 kB / 1.091 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.996e-05/0.8047, allocations: 144.1 kB / 1.091 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.8047, allocations: 0 / 1.091 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.153e-05/0.8047, allocations: 2.781 kB / 1.091 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.8047, allocations: 0 / 1.091 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.8047, allocations: 5.562 kB / 1.091 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.8047, allocations: 0 / 1.091 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.8047, allocations: 1.094 kB / 1.091 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.668e-05/0.8048, allocations: 69.53 kB / 1.091 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.619e-05/0.8048, allocations: 77.72 kB / 1.091 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.8048, allocations: 9.75 kB / 1.091 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.394e-06/0.8048, allocations: 5.094 kB / 1.091 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.916e-06/0.8049, allocations: 0 / 1.091 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.8049, allocations: 2 kB / 1.091 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.484e-05/0.8049, allocations: 75.28 kB / 1.091 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.8049, allocations: 4.031 kB / 1.091 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001988/0.8051, allocations: 11.64 kB / 1.091 GB, free: 2.75 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 (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.0001959/0.8053, allocations: 109.3 kB / 1.092 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.606e-05/0.8054, allocations: 7.875 kB / 1.092 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.8054, allocations: 0 / 1.092 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.343e-06/0.8054, allocations: 2.969 kB / 1.092 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001308/0.8055, allocations: 7.531 kB / 1.092 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001648/0.8057, allocations: 110.9 kB / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001015/0.8058, allocations: 0.6712 MB / 1.092 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.513e-05/0.8058, allocations: 8.188 kB / 1.092 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.8058, allocations: 0 / 1.092 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of Templates: time 0.002118/0.808, allocations: 0.5453 MB / 1.093 GB, free: 1.781 MB / 0.8575 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/jenkins1/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