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.001004/0.001004, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001121/0.001121, allocations: 169 kB / 24.28 MB, free: 280 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 0.9375/0.9375, allocations: 177.1 MB / 204.6 MB, free: 5.594 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.821/1.821, allocations: 377.8 MB / 0.6239 GB, free: 8.555 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.943e-06/1.943e-06, allocations: 0 / 0.8116 GB, free: 2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.032e-05/3.226e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.996 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001887/0.001919, allocations: 0.6056 MB / 0.8122 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0003786/0.002297, allocations: 92.44 kB / 0.8123 GB, free: 1.32 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.136e-05/0.002319, allocations: 5.688 kB / 0.8123 GB, free: 1.316 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.773e-05/0.002337, allocations: 0 / 0.8123 GB, free: 1.316 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.623e-06/0.002343, allocations: 0 / 0.8123 GB, free: 1.316 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004726/0.002816, allocations: 31.8 kB / 0.8123 GB, free: 1.285 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 5.418e-05/0.00287, allocations: 5.516 kB / 0.8123 GB, free: 1.281 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 4.499e-05/0.002915, allocations: 4 kB / 0.8123 GB, free: 1.277 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 2.589e-05/0.002941, allocations: 0 / 0.8123 GB, free: 1.277 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 1.779e-05/0.002959, allocations: 0 / 0.8123 GB, free: 1.277 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.002974, allocations: 1.594 kB / 0.8123 GB, free: 1.277 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001606/0.003135, allocations: 39.89 kB / 0.8123 GB, free: 1.238 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.1e-05/0.003146, allocations: 3.984 kB / 0.8123 GB, free: 1.234 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.747e-05/0.003163, allocations: 0 / 0.8123 GB, free: 1.234 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001308/0.003294, allocations: 31.95 kB / 0.8124 GB, free: 1.203 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.003297, allocations: 1.625 kB / 0.8124 GB, free: 1.203 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.603e-06/0.003299, allocations: 0 / 0.8124 GB, free: 1.203 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.003304, allocations: 0 / 0.8124 GB, free: 1.203 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.0002868/0.003591, allocations: 352.2 kB / 0.8127 GB, free: 0.8203 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.003633, allocations: 8.656 kB / 0.8127 GB, free: 0.8125 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.754e-05/0.003721, allocations: 4.938 kB / 0.8127 GB, free: 0.8086 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.309e-05/0.003794, allocations: 105.3 kB / 0.8128 GB, free: 0.6797 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.003806, allocations: 1.062 kB / 0.8128 GB, free: 0.6797 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-06/0.003815, allocations: 384 / 0.8128 GB, free: 0.6797 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.756e-05/0.003902, allocations: 35.05 kB / 0.8129 GB, free: 0.6406 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.003912, allocations: 4.172 kB / 0.8129 GB, free: 0.6367 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.003921, allocations: 1.75 kB / 0.8129 GB, free: 0.6367 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.003928, allocations: 384 / 0.8129 GB, free: 0.6367 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.701e-05/0.003945, allocations: 3.938 kB / 0.8129 GB, free: 0.6328 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001287/0.004074, allocations: 116.6 kB / 0.813 GB, free: 496 kB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 4.307e-05/0.004117, allocations: 24.81 kB / 0.813 GB, free: 460 kB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.98e-05/0.004137, allocations: 11.78 kB / 0.813 GB, free: 444 kB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001967/0.004334, allocations: 11.92 kB / 0.813 GB, free: 432 kB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.004361, allocations: 33.39 kB / 0.8131 GB, free: 388 kB / 0.7605 GB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.004362, allocations: 1.094 kB / 0.8131 GB, free: 388 kB / 0.7605 GB Notification: Performance of matching and sorting (n=1): time 0.0001604/0.004522, allocations: 33.7 kB / 0.8131 GB, free: 348 kB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.004559, allocations: 52.03 kB / 0.8131 GB, free: 284 kB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.634e-05/0.004605, allocations: 142.2 kB / 0.8133 GB, free: 128 kB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.004617, allocations: 30.27 kB / 0.8133 GB, free: 92 kB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 4.965e-05/0.004666, allocations: 127.7 kB / 0.8134 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/0.004696, allocations: 352 / 0.8134 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/0.004728, allocations: 16.47 kB / 0.8135 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.004865, allocations: 0.4961 MB / 0.8139 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.23e-05/0.004877, allocations: 0 / 0.8139 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.584e-06/0.004885, allocations: 6.375 kB / 0.8139 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.81e-05/0.004923, allocations: 11.69 kB / 0.814 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.004925, allocations: 0 / 0.814 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.454e-05/0.00501, allocations: 33.66 kB / 0.814 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.005026, allocations: 6.656 kB / 0.814 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.005034, allocations: 4.531 kB / 0.814 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.005048, allocations: 0.7188 kB / 0.814 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.473e-05/0.005093, allocations: 3.984 kB / 0.814 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.0051, allocations: 4.469 kB / 0.814 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.538e-05/0.005115, allocations: 3.938 kB / 0.814 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.005121, allocations: 0.8125 kB / 0.814 GB, free: 15.35 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 7.541e-05/0.005196, allocations: 161.5 kB / 0.8142 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.196e-05/0.005218, allocations: 4 kB / 0.8142 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.053e-05/0.005299, allocations: 33.92 kB / 0.8142 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.005302, allocations: 3.984 kB / 0.8142 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.005306, allocations: 0 / 0.8142 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.00531, allocations: 4 kB / 0.8142 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.244e-05/0.005382, allocations: 109.4 kB / 0.8143 GB, free: 15 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.005385, allocations: 4 kB / 0.8143 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.25e-05/0.005398, allocations: 2.219 kB / 0.8143 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.0054, allocations: 0 / 0.8143 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.005406, allocations: 4 kB / 0.8143 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.005407, allocations: 0 / 0.8143 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.005409, allocations: 0 / 0.8143 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.521e-05/0.005494, allocations: 83.44 kB / 0.8144 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.96e-06/0.005499, allocations: 0 / 0.8144 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.918e-06/0.005509, allocations: 0 / 0.8144 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.633e-06/0.005515, allocations: 0 / 0.8144 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.516e-05/0.00553, allocations: 0 / 0.8144 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.005534, allocations: 4 kB / 0.8144 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.65e-05/0.005571, allocations: 119.2 kB / 0.8145 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.005571, allocations: 0 / 0.8145 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002224/0.005793, allocations: 4 kB / 0.8145 GB, free: 14.76 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.0002175/0.006011, allocations: 121.5 kB / 0.8146 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.516e-05/0.006096, allocations: 8.656 kB / 0.8146 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.0061, allocations: 4 kB / 0.8146 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.118e-05/0.006111, allocations: 19.61 kB / 0.8147 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001514/0.006263, allocations: 2.719 kB / 0.8147 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002273/0.00649, allocations: 85.64 kB / 0.8148 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.59e-05/0.006526, allocations: 51.36 kB / 0.8148 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.289e-05/0.006539, allocations: 3.984 kB / 0.8148 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.774e-05/0.006557, allocations: 8.5 kB / 0.8148 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of SimCode: time 1.302e-06/0.006558, allocations: 9.125 kB / 0.8148 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of Templates: time 0.002706/0.009264, allocations: 419.5 kB / 0.8152 GB, free: 14 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.962565588997677]