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.001649/0.001649, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001201/0.001201, allocations: 181 kB / 24.09 MB, free: 416 kB / 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.001/1.001, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.845/1.845, allocations: 377.8 MB / 0.6239 GB, free: 8.434 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.533e-06/1.533e-06, allocations: 0 / 0.8121 GB, free: 1.418 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.077e-05/2.23e-05, allocations: 2.312 kB / 0.8121 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001282/0.001304, allocations: 0.6042 MB / 0.8127 GB, free: 0.8281 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002718/0.001576, allocations: 88.7 kB / 0.8127 GB, free: 0.7422 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.367e-05/0.001589, allocations: 0 / 0.8127 GB, free: 0.7422 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.336e-05/0.001603, allocations: 0 / 0.8127 GB, free: 0.7422 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.49e-06/0.001608, allocations: 0.7812 kB / 0.8127 GB, free: 0.7422 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003225/0.001931, allocations: 43.77 kB / 0.8128 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 3.053e-05/0.001961, allocations: 1.688 kB / 0.8128 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.688e-05/0.001998, allocations: 4 kB / 0.8128 GB, free: 0.6953 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 2.587e-05/0.002024, allocations: 4 kB / 0.8128 GB, free: 0.6914 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 1.346e-05/0.002037, allocations: 0 / 0.8128 GB, free: 0.6914 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 9.548e-06/0.002047, allocations: 0 / 0.8128 GB, free: 0.6914 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.002168, allocations: 41.41 kB / 0.8128 GB, free: 0.6523 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 8.436e-06/0.002177, allocations: 0 / 0.8128 GB, free: 0.6523 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 9.928e-06/0.002187, allocations: 0 / 0.8128 GB, free: 0.6523 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.199e-05/0.002279, allocations: 31.95 kB / 0.8129 GB, free: 0.6211 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.00228, allocations: 1.062 kB / 0.8129 GB, free: 0.6211 MB / 0.7605 GB Notification: Performance of FrontEnd: time 7.91e-07/0.002281, allocations: 7.938 kB / 0.8129 GB, free: 0.6133 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.477e-06/0.002285, allocations: 0 / 0.8129 GB, free: 0.6133 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.0001986/0.002483, allocations: 345.9 kB / 0.8132 GB, free: 244 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.002517, allocations: 8.031 kB / 0.8132 GB, free: 236 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.004e-05/0.002567, allocations: 4.938 kB / 0.8132 GB, free: 232 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.831e-05/0.002615, allocations: 104.6 kB / 0.8133 GB, free: 100 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.002624, allocations: 6.969 kB / 0.8133 GB, free: 96 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.659e-06/0.002629, allocations: 384 / 0.8133 GB, free: 96 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.422e-05/0.002683, allocations: 38.19 kB / 0.8134 GB, free: 52 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.089e-06/0.002688, allocations: 192 / 0.8134 GB, free: 52 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.871e-06/0.002694, allocations: 4.359 kB / 0.8134 GB, free: 48 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.002698, allocations: 384 / 0.8134 GB, free: 48 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.448e-06/0.002708, allocations: 4.469 kB / 0.8134 GB, free: 44 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001059/0.002814, allocations: 97.27 kB / 0.8135 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 3.019e-05/0.002844, allocations: 23.78 kB / 0.8135 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.004e-05/0.002854, allocations: 8.219 kB / 0.8135 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001263/0.00298, allocations: 15.95 kB / 0.8135 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.003007, allocations: 39.05 kB / 0.8135 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 9.51e-07/0.003008, allocations: 0 / 0.8135 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.0001008/0.003109, allocations: 33.7 kB / 0.8136 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.179e-05/0.003131, allocations: 52 kB / 0.8136 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.522e-05/0.003166, allocations: 142.2 kB / 0.8138 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.877e-06/0.003175, allocations: 26.48 kB / 0.8138 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.334e-05/0.003208, allocations: 130.9 kB / 0.8139 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/0.003233, allocations: 1.5 kB / 0.8139 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.526e-05/0.003259, allocations: 23.34 kB / 0.8139 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.003366, allocations: 496.1 kB / 0.8144 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.093e-06/0.003373, allocations: 5.375 kB / 0.8144 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.791e-06/0.003379, allocations: 3.938 kB / 0.8144 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.195e-05/0.003401, allocations: 9.438 kB / 0.8144 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.003403, allocations: 4 kB / 0.8144 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.526e-05/0.003458, allocations: 33.66 kB / 0.8145 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.003468, allocations: 4 kB / 0.8145 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.003473, allocations: 3.984 kB / 0.8145 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.003482, allocations: 4.438 kB / 0.8145 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.926e-05/0.003511, allocations: 5.062 kB / 0.8145 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-06/0.003513, allocations: 0 / 0.8145 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.943e-06/0.00352, allocations: 0 / 0.8145 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-06/0.003524, allocations: 0.9062 kB / 0.8145 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.85e-05/0.003582, allocations: 168.5 kB / 0.8146 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.392e-05/0.003596, allocations: 0.8438 kB / 0.8146 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.229e-05/0.003649, allocations: 38.91 kB / 0.8147 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-06/0.00365, allocations: 0 / 0.8147 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.003652, allocations: 0 / 0.8147 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.003654, allocations: 0 / 0.8147 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.425e-05/0.003709, allocations: 97.2 kB / 0.8148 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.00371, allocations: 0 / 0.8148 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.103e-06/0.003717, allocations: 0 / 0.8148 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.003718, allocations: 2.719 kB / 0.8148 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.026e-06/0.003721, allocations: 0 / 0.8148 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.02e-07/0.003722, allocations: 0 / 0.8148 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.003723, allocations: 0 / 0.8148 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.711e-05/0.00378, allocations: 80.31 kB / 0.8148 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.286e-06/0.003783, allocations: 0 / 0.8148 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.422e-06/0.00379, allocations: 9.531 kB / 0.8149 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.176e-06/0.003793, allocations: 0 / 0.8149 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.406e-06/0.003801, allocations: 0 / 0.8149 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.003803, allocations: 0 / 0.8149 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.752e-05/0.00383, allocations: 119.2 kB / 0.815 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.1e-08/0.003831, allocations: 0.5 kB / 0.815 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001293/0.00396, allocations: 13.45 kB / 0.815 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.000133/0.004093, allocations: 107.8 kB / 0.8151 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 4.921e-05/0.004142, allocations: 19.36 kB / 0.8151 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.004144, allocations: 0 / 0.8151 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.306e-06/0.004152, allocations: 19.61 kB / 0.8151 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.694e-05/0.004239, allocations: 3.938 kB / 0.8151 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001379/0.004377, allocations: 83.95 kB / 0.8152 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.479e-05/0.004402, allocations: 55.36 kB / 0.8153 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.895e-06/0.004409, allocations: 3.938 kB / 0.8153 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.318e-05/0.004443, allocations: 67.86 kB / 0.8153 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of SimCode: time 8.42e-07/0.004443, allocations: 0 / 0.8153 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of Templates: time 0.001808/0.006252, allocations: 476.5 kB / 0.8158 GB, free: 13.35 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.907092452980578]