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.0009919/0.0009919, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.0009924/0.0009924, allocations: 161 kB / 24.17 MB, free: 332 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.058/1.058, allocations: 177.1 MB / 204.6 MB, free: 5.453 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.988/1.988, allocations: 377.9 MB / 0.624 GB, free: 8.359 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.382e-06/1.382e-06, allocations: 0 / 0.7601 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.582e-05/2.72e-05, allocations: 6.25 kB / 0.7601 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002382/0.00241, allocations: 1.549 MB / 0.7616 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0003618/0.002771, allocations: 153.9 kB / 0.7617 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.711e-05/0.002798, allocations: 1.125 kB / 0.7617 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.685e-05/0.002825, allocations: 3.938 kB / 0.7617 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.427e-05/0.00287, allocations: 5.641 kB / 0.7617 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003057/0.003175, allocations: 37.47 kB / 0.7618 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.911e-05/0.003234, allocations: 24.69 kB / 0.7618 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.099e-05/0.003305, allocations: 9.234 kB / 0.7618 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.828e-05/0.003344, allocations: 12.75 kB / 0.7618 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.032e-05/0.003374, allocations: 4.875 kB / 0.7618 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.003386, allocations: 9.188 kB / 0.7618 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.003498, allocations: 37.27 kB / 0.7619 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.174e-05/0.00351, allocations: 4.766 kB / 0.7619 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.457e-05/0.003525, allocations: 12.95 kB / 0.7619 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001141/0.003639, allocations: 49.56 kB / 0.7619 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.00364, allocations: 0.7656 kB / 0.7619 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.001e-06/0.003641, allocations: 0.5312 kB / 0.7619 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.326e-06/0.003645, allocations: 0.875 kB / 0.7619 GB, free: 4.703 MB / 0.7136 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.0002707/0.003915, allocations: 237 kB / 0.7622 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.003949, allocations: 13.09 kB / 0.7622 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.688e-05/0.004006, allocations: 9.547 kB / 0.7622 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.483e-05/0.00409, allocations: 105.8 kB / 0.7623 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.0041, allocations: 1.594 kB / 0.7623 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.672e-06/0.004106, allocations: 384 / 0.7623 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.115e-05/0.004198, allocations: 50.95 kB / 0.7623 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.004206, allocations: 4.828 kB / 0.7623 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.442e-06/0.004213, allocations: 2.219 kB / 0.7623 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.004219, allocations: 384 / 0.7623 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.324e-05/0.004242, allocations: 16.61 kB / 0.7623 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001945/0.004436, allocations: 148.3 kB / 0.7625 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.512e-05/0.004471, allocations: 20.7 kB / 0.7625 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.567e-05/0.004487, allocations: 12.92 kB / 0.7625 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.368e-05/0.004571, allocations: 7.984 kB / 0.7625 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.004596, allocations: 34.56 kB / 0.7626 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 7.21e-07/0.004596, allocations: 0 / 0.7626 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001204/0.004717, allocations: 38.98 kB / 0.7626 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.00475, allocations: 55.67 kB / 0.7627 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.377e-05/0.004804, allocations: 106.7 kB / 0.7628 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.157e-06/0.004813, allocations: 27.3 kB / 0.7628 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.974e-05/0.004843, allocations: 88.06 kB / 0.7629 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.704e-05/0.00486, allocations: 7.891 kB / 0.7629 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.287e-05/0.004883, allocations: 13.72 kB / 0.7629 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.074e-05/0.004963, allocations: 322.1 kB / 0.7632 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.686e-06/0.004972, allocations: 4 kB / 0.7632 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.175e-06/0.00498, allocations: 0 / 0.7632 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.1e-05/0.005011, allocations: 12.8 kB / 0.7632 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.005013, allocations: 0 / 0.7632 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.661e-05/0.005069, allocations: 37.69 kB / 0.7632 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.005081, allocations: 8 kB / 0.7633 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.005085, allocations: 3.031 kB / 0.7633 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.005097, allocations: 0 / 0.7633 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.336e-05/0.005141, allocations: 7.938 kB / 0.7633 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.005145, allocations: 3.984 kB / 0.7633 GB, free: 3.188 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.551e-05/0.00516, allocations: 8 kB / 0.7633 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-06/0.005164, allocations: 0 / 0.7633 GB, free: 3.18 MB / 0.7136 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 4.918e-05/0.005213, allocations: 109.8 kB / 0.7634 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.3e-05/0.005236, allocations: 9.453 kB / 0.7634 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.628e-05/0.005293, allocations: 44.94 kB / 0.7634 GB, free: 3.008 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.005295, allocations: 0 / 0.7634 GB, free: 3.008 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.005297, allocations: 3.938 kB / 0.7634 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.005299, allocations: 0.6562 kB / 0.7634 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.08e-05/0.00537, allocations: 69.89 kB / 0.7635 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.005371, allocations: 0.625 kB / 0.7635 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.721e-05/0.005388, allocations: 4.656 kB / 0.7635 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.21e-07/0.005389, allocations: 0 / 0.7635 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.647e-06/0.005392, allocations: 1.062 kB / 0.7635 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.005393, allocations: 0 / 0.7635 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.005394, allocations: 0 / 0.7635 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.705e-05/0.005461, allocations: 141.9 kB / 0.7636 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.499e-06/0.005466, allocations: 0 / 0.7636 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.233e-06/0.005473, allocations: 3.984 kB / 0.7636 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.882e-05/0.005502, allocations: 4 kB / 0.7636 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.45e-05/0.005526, allocations: 4 kB / 0.7637 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-06/0.005528, allocations: 0 / 0.7637 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.305e-05/0.005541, allocations: 19.91 kB / 0.7637 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.005541, allocations: 3.938 kB / 0.7637 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001265/0.005668, allocations: 15.94 kB / 0.7637 GB, free: 2.711 MB / 0.7136 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.0001212/0.005789, allocations: 88.39 kB / 0.7638 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.176e-05/0.005841, allocations: 18.11 kB / 0.7638 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.005843, allocations: 0 / 0.7638 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.437e-05/0.005858, allocations: 13.36 kB / 0.7638 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001237/0.005981, allocations: 9.375 kB / 0.7638 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001917/0.006173, allocations: 96.69 kB / 0.7639 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.741e-05/0.006211, allocations: 61.78 kB / 0.764 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.672e-05/0.006227, allocations: 0 / 0.764 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.703e-05/0.006264, allocations: 51.38 kB / 0.764 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of SimCode: time 6.81e-07/0.006265, allocations: 0 / 0.764 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of Templates: time 0.002177/0.008442, allocations: 0.7056 MB / 0.7647 GB, free: 1.648 MB / 0.7136 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 -s gbode -gbm=radauIIA3 -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.084861962124705]