Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.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.0009498/0.0009498, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009134/0.0009134, allocations: 161 kB / 23.82 MB, free: 0.7461 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 1.009/1.009, allocations: 177.1 MB / 204.2 MB, free: 5.648 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.926/1.926, allocations: 377.8 MB / 0.6236 GB, free: 8.539 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.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|E1.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|E1.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.8115 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.187e-05/3.366e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.699 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.003192/0.003225, allocations: 1.49 MB / 0.813 GB, free: 224 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0005143/0.00374, allocations: 152.1 kB / 0.8131 GB, free: 72 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.659e-05/0.003776, allocations: 4 kB / 0.8131 GB, free: 68 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.144e-05/0.003818, allocations: 0.9062 kB / 0.8131 GB, free: 68 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.793e-05/0.003876, allocations: 0 / 0.8131 GB, free: 68 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005011/0.004377, allocations: 40.48 kB / 0.8132 GB, free: 28 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.004481, allocations: 32.78 kB / 0.8132 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.004584, allocations: 0 / 0.8132 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 4.941e-05/0.004633, allocations: 15.88 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.435e-05/0.004678, allocations: 5.25 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.004696, allocations: 0 / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001638/0.00486, allocations: 43.94 kB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.42e-05/0.004874, allocations: 1.719 kB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.362e-05/0.004908, allocations: 15.92 kB / 0.8133 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001976/0.005105, allocations: 51.81 kB / 0.8133 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.005109, allocations: 0 / 0.8133 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.255e-06/0.005111, allocations: 0 / 0.8133 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.005117, allocations: 1.25 kB / 0.8133 GB, free: 15.87 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004502/0.005567, allocations: 356.6 kB / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.005615, allocations: 8.031 kB / 0.8137 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.196e-05/0.005707, allocations: 14.45 kB / 0.8137 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.005819, allocations: 108.6 kB / 0.8138 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.005834, allocations: 384 / 0.8138 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.005849, allocations: 384 / 0.8138 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.00603, allocations: 51.8 kB / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.006042, allocations: 192 / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.006056, allocations: 5.25 kB / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.006066, allocations: 384 / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.662e-05/0.006113, allocations: 16.52 kB / 0.8139 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003799/0.006493, allocations: 239.9 kB / 0.8141 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.106e-05/0.006574, allocations: 33 kB / 0.8141 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.984e-05/0.006604, allocations: 15.69 kB / 0.8142 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001634/0.006767, allocations: 7.984 kB / 0.8142 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.0068, allocations: 33.39 kB / 0.8142 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.683e-06/0.006802, allocations: 0.625 kB / 0.8142 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0002403/0.007042, allocations: 54.23 kB / 0.8142 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.007082, allocations: 55.41 kB / 0.8143 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.007189, allocations: 163.2 kB / 0.8145 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.007204, allocations: 29.69 kB / 0.8145 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.604e-05/0.00726, allocations: 126.9 kB / 0.8146 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.525e-05/0.007285, allocations: 12.48 kB / 0.8146 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.676e-05/0.007322, allocations: 23.38 kB / 0.8146 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.007467, allocations: 493.2 kB / 0.8151 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.905e-05/0.007486, allocations: 4 kB / 0.8151 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.406e-05/0.0075, allocations: 0.9375 kB / 0.8151 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.013e-05/0.00754, allocations: 23.61 kB / 0.8151 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.007542, allocations: 0.5312 kB / 0.8151 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.71e-05/0.00764, allocations: 38.98 kB / 0.8152 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.007655, allocations: 4 kB / 0.8152 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.007661, allocations: 3.938 kB / 0.8152 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.00768, allocations: 1.812 kB / 0.8152 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.563e-05/0.007765, allocations: 11.97 kB / 0.8152 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.007771, allocations: 0 / 0.8152 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.859e-05/0.0078, allocations: 4 kB / 0.8152 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.007805, allocations: 1.344 kB / 0.8152 GB, free: 13.77 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 (2): * Single equations (assignments): 2 * 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 8.32e-05/0.007888, allocations: 160.6 kB / 0.8154 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.286e-05/0.007931, allocations: 3.953 kB / 0.8154 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001268/0.008058, allocations: 57.73 kB / 0.8154 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.008061, allocations: 0 / 0.8154 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.008065, allocations: 2.156 kB / 0.8154 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.008068, allocations: 0 / 0.8154 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.008216, allocations: 112.6 kB / 0.8155 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.008218, allocations: 0 / 0.8155 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.228e-05/0.00826, allocations: 8 kB / 0.8155 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.008263, allocations: 0 / 0.8155 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.008273, allocations: 4.547 kB / 0.8155 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.008278, allocations: 11.38 kB / 0.8155 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.008279, allocations: 3.938 kB / 0.8155 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001531/0.008433, allocations: 187.9 kB / 0.8157 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.354e-06/0.00844, allocations: 0 / 0.8157 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.008454, allocations: 3.984 kB / 0.8157 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.809e-05/0.008512, allocations: 7.938 kB / 0.8157 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.763e-05/0.00856, allocations: 4 kB / 0.8157 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.008564, allocations: 0 / 0.8157 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.442e-05/0.008619, allocations: 127.2 kB / 0.8159 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.008619, allocations: 0.5 kB / 0.8159 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002997/0.008918, allocations: 16.44 kB / 0.8159 GB, free: 13.01 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 (2): * Single equations (assignments): 2 * 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.0002276/0.009146, allocations: 105.2 kB / 0.816 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001268/0.009273, allocations: 20.23 kB / 0.816 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.009275, allocations: 0.8125 kB / 0.816 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.191e-05/0.009307, allocations: 19.62 kB / 0.816 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.009646, allocations: 12.81 kB / 0.816 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004752/0.01012, allocations: 111.1 kB / 0.8161 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.166e-05/0.01019, allocations: 64.77 kB / 0.8162 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.889e-05/0.01022, allocations: 0 / 0.8162 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.829e-05/0.01026, allocations: 8.5 kB / 0.8162 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of SimCode: time 1.282e-06/0.01026, allocations: 0 / 0.8162 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of Templates: time 0.004548/0.01481, allocations: 0.6859 MB / 0.8169 GB, free: 11.96 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_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: 5.286825252696872]