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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.005502/0.005502, allocations: 106.1 kB / 15.74 MB, free: 6.035 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.001303/0.001303, allocations: 195.6 kB / 16.67 MB, free: 5.969 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.345/2.345, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 73.44 kB / 0.9509 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3147, allocations: 140.4 MB / 1.088 GB, free: 1.445 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.00191/0.3166, allocations: 0.5788 MB / 1.089 GB, free: 0.8711 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0003675/0.317, allocations: 103.6 kB / 1.089 GB, free: 0.7695 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.117e-05/0.317, allocations: 0 / 1.089 GB, free: 0.7695 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.496e-05/0.3171, allocations: 0 / 1.089 GB, free: 0.7695 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.731e-06/0.3171, allocations: 0 / 1.089 GB, free: 0.7695 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003034/0.3174, allocations: 35.89 kB / 1.089 GB, free: 0.7344 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 3.266e-05/0.3175, allocations: 8 kB / 1.089 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.001e-05/0.3175, allocations: 352 / 1.089 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.343e-05/0.3175, allocations: 3.938 kB / 1.089 GB, free: 0.7227 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 1.582e-05/0.3176, allocations: 0 / 1.089 GB, free: 0.7227 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6.873e-06/0.3176, allocations: 0 / 1.089 GB, free: 0.7227 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/0.3177, allocations: 39.97 kB / 1.089 GB, free: 0.6836 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 8.346e-06/0.3177, allocations: 3.984 kB / 1.089 GB, free: 0.6797 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.523e-05/0.3177, allocations: 0 / 1.089 GB, free: 0.6797 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.536e-05/0.3178, allocations: 27.91 kB / 1.089 GB, free: 0.6523 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3179, allocations: 0 / 1.089 GB, free: 0.6523 MB / 0.8419 GB Notification: Performance of FrontEnd: time 8.22e-07/0.3179, allocations: 3.938 kB / 1.089 GB, free: 0.6484 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.3179, allocations: 4 kB / 1.089 GB, free: 0.6445 MB / 0.8419 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.0002677/0.3181, allocations: 315.6 kB / 1.089 GB, free: 292 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.3182, allocations: 8.031 kB / 1.089 GB, free: 284 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.44e-05/0.3183, allocations: 4.938 kB / 1.089 GB, free: 280 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.992e-05/0.3184, allocations: 164.4 kB / 1.089 GB, free: 76 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.3184, allocations: 384 / 1.089 GB, free: 76 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.042e-06/0.3184, allocations: 384 / 1.089 GB, free: 76 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.279e-05/0.3185, allocations: 30.25 kB / 1.089 GB, free: 40 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.3185, allocations: 4.188 kB / 1.089 GB, free: 36 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.703e-06/0.3185, allocations: 7.938 kB / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-06/0.3185, allocations: 0 / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.3e-05/0.3185, allocations: 0 / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001614/0.3187, allocations: 141.7 kB / 1.089 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.698e-05/0.3187, allocations: 30.55 kB / 1.089 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.458e-05/0.3187, allocations: 4.859 kB / 1.089 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002183/0.319, allocations: 89.14 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.319, allocations: 38.56 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.252e-06/0.319, allocations: 3.938 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001583/0.3192, allocations: 45.56 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.3192, allocations: 55.41 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.549e-05/0.3193, allocations: 89.86 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.3193, allocations: 25.7 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.609e-05/0.3193, allocations: 80.14 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/0.3193, allocations: 0 / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.603e-05/0.3194, allocations: 17.84 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.3195, allocations: 310.8 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.454e-06/0.3195, allocations: 3.938 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.949e-06/0.3195, allocations: 0 / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.395e-05/0.3196, allocations: 12.86 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.3196, allocations: 0 / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.559e-05/0.3197, allocations: 37.62 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.3197, allocations: 12.09 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.525e-06/0.3197, allocations: 0 / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.3197, allocations: 3.938 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.167e-05/0.3198, allocations: 0 / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.3198, allocations: 0 / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.749e-06/0.3198, allocations: 0 / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.3198, allocations: 4 kB / 1.09 GB, free: 14.89 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 6.593e-05/0.3199, allocations: 105.8 kB / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.203e-05/0.3199, allocations: 3.984 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.422e-05/0.32, allocations: 44.77 kB / 1.09 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.32, allocations: 0 / 1.09 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.32, allocations: 0 / 1.09 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.32, allocations: 0 / 1.09 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001188/0.3201, allocations: 149.7 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.3202, allocations: 0 / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.295e-05/0.3202, allocations: 3.938 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.3202, allocations: 0 / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.83e-06/0.3202, allocations: 3.938 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3202, allocations: 4 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3202, allocations: 0 / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.55e-05/0.3203, allocations: 61.16 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.902e-05/0.3203, allocations: 77.11 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.098e-05/0.3204, allocations: 7.938 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.873e-06/0.3204, allocations: 0 / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.104e-05/0.3204, allocations: 3.984 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-06/0.3204, allocations: 0 / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.821e-05/0.3204, allocations: 75.31 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3204, allocations: 4 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000203/0.3206, allocations: 15.94 kB / 1.091 GB, free: 14.24 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.000195/0.3208, allocations: 115.6 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 5.393e-05/0.3209, allocations: 7.938 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.3209, allocations: 0 / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.357e-06/0.3209, allocations: 12.06 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001167/0.321, allocations: 0 / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001835/0.3212, allocations: 88.97 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.3215, allocations: 0.669 MB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.093e-05/0.3215, allocations: 0 / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.429e-05/0.3215, allocations: 7.438 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of SimCode: time 1.032e-06/0.3215, allocations: 0 / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of Templates: time 0.002032/0.3236, allocations: 408.5 kB / 1.092 GB, free: 12.88 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/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