Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 81.95 kB / 21.47 MB, free: 3.031 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009887/0.0009887, allocations: 166.2 kB / 24.87 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9338/0.9338, allocations: 177.2 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.879/1.879, allocations: 377.9 MB / 0.6247 GB, free: 8.406 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|E1",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|E1",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 0.8128 GB, free: 1.402 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.527e-05/1.654e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.398 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001066/0.001083, allocations: 0.5977 MB / 0.8134 GB, free: 0.8203 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002653/0.001348, allocations: 99.59 kB / 0.8135 GB, free: 0.7227 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.534e-05/0.001364, allocations: 1.594 kB / 0.8135 GB, free: 0.7227 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.308e-05/0.001377, allocations: 0 / 0.8135 GB, free: 0.7227 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.51e-06/0.001382, allocations: 0 / 0.8135 GB, free: 0.7227 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002994/0.001682, allocations: 31.84 kB / 0.8135 GB, free: 0.6914 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 3.151e-05/0.001713, allocations: 1.938 kB / 0.8135 GB, free: 0.6914 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.493e-05/0.001748, allocations: 4 kB / 0.8135 GB, free: 0.6875 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 2.002e-05/0.001768, allocations: 3.984 kB / 0.8136 GB, free: 0.6836 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 1.276e-05/0.001781, allocations: 0 / 0.8136 GB, free: 0.6836 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 8.125e-06/0.001789, allocations: 0 / 0.8136 GB, free: 0.6836 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.0019, allocations: 43.83 kB / 0.8136 GB, free: 0.6406 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 8.155e-06/0.001909, allocations: 0.6562 kB / 0.8136 GB, free: 0.6406 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 8.136e-06/0.001917, allocations: 0.5312 kB / 0.8136 GB, free: 0.6406 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 8.264e-05/0.001999, allocations: 31.95 kB / 0.8136 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.363e-06/0.002001, allocations: 0.7188 kB / 0.8136 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of FrontEnd: time 6.41e-07/0.002001, allocations: 0 / 0.8136 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.955e-06/0.002004, allocations: 0.5312 kB / 0.8136 GB, free: 0.6094 MB / 0.7605 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.0002053/0.00221, allocations: 349.7 kB / 0.814 GB, free: 236 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.00224, allocations: 12.03 kB / 0.814 GB, free: 224 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.872e-05/0.002289, allocations: 4.938 kB / 0.814 GB, free: 220 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.087e-05/0.00234, allocations: 104.6 kB / 0.8141 GB, free: 88 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.00235, allocations: 4.891 kB / 0.8141 GB, free: 84 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.268e-06/0.002354, allocations: 1.75 kB / 0.8141 GB, free: 84 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.381e-05/0.002408, allocations: 38.19 kB / 0.8141 GB, free: 40 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.67e-06/0.002414, allocations: 192 / 0.8141 GB, free: 40 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.678e-06/0.002418, allocations: 384 / 0.8141 GB, free: 40 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.002423, allocations: 1.531 kB / 0.8141 GB, free: 40 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.307e-06/0.002432, allocations: 7.938 kB / 0.8141 GB, free: 32 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.922e-05/0.002511, allocations: 90.64 kB / 0.8142 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 2.984e-05/0.002541, allocations: 27.06 kB / 0.8142 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.063e-05/0.002552, allocations: 11.78 kB / 0.8143 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/0.002653, allocations: 7.984 kB / 0.8143 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.002671, allocations: 38.67 kB / 0.8143 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.002672, allocations: 0 / 0.8143 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 8.69e-05/0.002759, allocations: 30.3 kB / 0.8143 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.002784, allocations: 59.33 kB / 0.8144 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.209e-05/0.002816, allocations: 147 kB / 0.8145 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.133e-06/0.002823, allocations: 29.7 kB / 0.8145 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.463e-05/0.002848, allocations: 128.1 kB / 0.8147 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.00287, allocations: 4.344 kB / 0.8147 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.854e-05/0.002889, allocations: 15.38 kB / 0.8147 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.969e-05/0.002988, allocations: 0.4892 MB / 0.8152 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.05e-06/0.002994, allocations: 0 / 0.8152 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.32e-06/0.002999, allocations: 5.25 kB / 0.8152 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.109e-05/0.00302, allocations: 11.69 kB / 0.8152 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.003021, allocations: 0 / 0.8152 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.409e-05/0.003066, allocations: 38.86 kB / 0.8152 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/0.003075, allocations: 4 kB / 0.8152 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.003079, allocations: 0 / 0.8152 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.00309, allocations: 5.844 kB / 0.8152 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.815e-05/0.003118, allocations: 0 / 0.8152 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.004e-06/0.00312, allocations: 0 / 0.8152 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.422e-06/0.003126, allocations: 0 / 0.8152 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-06/0.00313, allocations: 0 / 0.8152 GB, free: 14.79 MB / 0.7761 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.129e-05/0.003181, allocations: 163 kB / 0.8154 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.069e-05/0.003192, allocations: 3.938 kB / 0.8154 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.49e-05/0.003237, allocations: 40.69 kB / 0.8154 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.003238, allocations: 0 / 0.8154 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-06/0.003239, allocations: 0 / 0.8154 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.003241, allocations: 0 / 0.8154 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.736e-05/0.003289, allocations: 97.7 kB / 0.8155 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.00329, allocations: 0.5312 kB / 0.8155 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-06/0.003295, allocations: 0 / 0.8155 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.81e-07/0.003295, allocations: 1.938 kB / 0.8155 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.765e-06/0.003298, allocations: 0 / 0.8155 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.003299, allocations: 4 kB / 0.8155 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.0033, allocations: 3.984 kB / 0.8155 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.015e-05/0.00335, allocations: 73.23 kB / 0.8156 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.256e-06/0.003353, allocations: 4 kB / 0.8156 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.699e-06/0.003358, allocations: 0 / 0.8156 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.226e-06/0.003361, allocations: 0.6562 kB / 0.8156 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.118e-06/0.003371, allocations: 8.594 kB / 0.8156 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-06/0.003372, allocations: 3.984 kB / 0.8156 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.431e-05/0.003396, allocations: 122.3 kB / 0.8157 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.003396, allocations: 0 / 0.8157 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001283/0.003525, allocations: 8 kB / 0.8157 GB, free: 14.21 MB / 0.7761 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.0001078/0.003633, allocations: 111.2 kB / 0.8158 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 5.289e-05/0.003685, allocations: 18.08 kB / 0.8159 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.003687, allocations: 0 / 0.8159 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.083e-06/0.003694, allocations: 15.62 kB / 0.8159 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.395e-05/0.003778, allocations: 7.875 kB / 0.8159 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000114/0.003892, allocations: 83.95 kB / 0.816 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.183e-05/0.003913, allocations: 52.36 kB / 0.816 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.023e-06/0.00392, allocations: 0 / 0.816 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.586e-05/0.003946, allocations: 70.19 kB / 0.8161 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of SimCode: time 3.51e-07/0.003947, allocations: 1.062 kB / 0.8161 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of Templates: time 0.001651/0.005598, allocations: 481.7 kB / 0.8165 GB, free: 13.34 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.949430122040212]