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.0009443/0.0009443, 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.0009343/0.0009343, 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 0.9193/0.9193, allocations: 177.1 MB / 204.6 MB, free: 5.484 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.797/1.797, allocations: 377.9 MB / 0.624 GB, free: 8.371 MB / 0.5886 GB " [Timeout remaining time 178] 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.332e-06/1.332e-06, allocations: 0 / 0.76 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0002651/0.0002664, allocations: 2.812 kB / 0.76 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.001667/0.001933, allocations: 1.505 MB / 0.7615 GB, free: 5.137 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0003263/0.002259, allocations: 150 kB / 0.7616 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.667e-05/0.002286, allocations: 4 kB / 0.7616 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.775e-05/0.002314, allocations: 3.938 kB / 0.7616 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.147e-05/0.002355, allocations: 3.25 kB / 0.7616 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002952/0.00265, allocations: 40.52 kB / 0.7617 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.414e-05/0.002704, allocations: 30.03 kB / 0.7617 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 5.963e-05/0.002764, allocations: 0 / 0.7617 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.437e-05/0.002798, allocations: 13.62 kB / 0.7617 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.191e-05/0.00283, allocations: 12.64 kB / 0.7617 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.002848, allocations: 4 kB / 0.7617 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.559e-05/0.002943, allocations: 37.78 kB / 0.7618 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.509e-05/0.002958, allocations: 8.75 kB / 0.7618 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.277e-05/0.002971, allocations: 4.984 kB / 0.7618 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.003075, allocations: 51.25 kB / 0.7618 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.212e-06/0.003076, allocations: 3.938 kB / 0.7618 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.41e-07/0.003077, allocations: 0 / 0.7618 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.965e-06/0.003079, allocations: 1.203 kB / 0.7618 GB, free: 4.797 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.0002581/0.003338, allocations: 233 kB / 0.7621 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.823e-05/0.003366, allocations: 12.78 kB / 0.7621 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.372e-05/0.00342, allocations: 4.891 kB / 0.7621 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.227e-05/0.003492, allocations: 110.4 kB / 0.7622 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.003501, allocations: 6.562 kB / 0.7622 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.859e-06/0.003511, allocations: 4.375 kB / 0.7622 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.99e-05/0.003591, allocations: 50.94 kB / 0.7622 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.121e-06/0.003597, allocations: 192 / 0.7622 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.971e-06/0.003603, allocations: 5.359 kB / 0.7623 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.003608, allocations: 384 / 0.7623 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.848e-05/0.003627, allocations: 13.47 kB / 0.7623 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001673/0.003794, allocations: 144.3 kB / 0.7624 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.382e-05/0.003828, allocations: 18.58 kB / 0.7624 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.355e-05/0.003842, allocations: 10.11 kB / 0.7624 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.554e-05/0.003917, allocations: 8.094 kB / 0.7624 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.003937, allocations: 34.56 kB / 0.7625 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 7.01e-07/0.003938, allocations: 0 / 0.7625 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 9.953e-05/0.004037, allocations: 39.23 kB / 0.7625 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.004069, allocations: 64.36 kB / 0.7626 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.184e-05/0.00411, allocations: 102.7 kB / 0.7627 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.113e-06/0.004118, allocations: 25.7 kB / 0.7627 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.378e-05/0.004141, allocations: 82.67 kB / 0.7628 GB, free: 3.723 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.487e-05/0.004156, allocations: 11.89 kB / 0.7628 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.138e-05/0.004178, allocations: 14.58 kB / 0.7628 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.548e-05/0.004243, allocations: 318.8 kB / 0.7631 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.911e-06/0.004249, allocations: 0 / 0.7631 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.181e-06/0.004255, allocations: 0 / 0.7631 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.669e-05/0.004272, allocations: 15.61 kB / 0.7631 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.004273, allocations: 3.938 kB / 0.7631 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.231e-05/0.004315, allocations: 41.69 kB / 0.7632 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.616e-06/0.004324, allocations: 4 kB / 0.7632 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.925e-06/0.004327, allocations: 0.875 kB / 0.7632 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.004338, allocations: 0 / 0.7632 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.157e-05/0.004379, allocations: 13.05 kB / 0.7632 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.926e-06/0.004382, allocations: 0 / 0.7632 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.361e-05/0.004396, allocations: 4 kB / 0.7632 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-06/0.0044, allocations: 4.938 kB / 0.7632 GB, free: 3.281 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.161e-05/0.004441, allocations: 109.8 kB / 0.7633 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.745e-05/0.004459, allocations: 5.078 kB / 0.7633 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.054e-05/0.004509, allocations: 49.58 kB / 0.7633 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.004511, allocations: 4.75 kB / 0.7633 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.004515, allocations: 3.938 kB / 0.7633 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.004519, allocations: 4.484 kB / 0.7634 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.542e-05/0.004585, allocations: 65.34 kB / 0.7634 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.21e-07/0.004585, allocations: 0 / 0.7634 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.391e-05/0.004599, allocations: 4.875 kB / 0.7634 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.0046, allocations: 0 / 0.7634 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.968e-06/0.004604, allocations: 3.984 kB / 0.7634 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.004605, allocations: 0 / 0.7634 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.7e-07/0.004605, allocations: 4 kB / 0.7634 GB, free: 3.008 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.262e-05/0.004668, allocations: 135.4 kB / 0.7636 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.468e-06/0.004672, allocations: 3.984 kB / 0.7636 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.962e-06/0.004678, allocations: 2.688 kB / 0.7636 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.718e-05/0.004705, allocations: 5.203 kB / 0.7636 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.141e-05/0.004727, allocations: 0 / 0.7636 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-06/0.004728, allocations: 0 / 0.7636 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.014e-05/0.004738, allocations: 20.78 kB / 0.7636 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.004738, allocations: 0 / 0.7636 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001217/0.00486, allocations: 15.94 kB / 0.7636 GB, free: 2.812 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.0001076/0.004968, allocations: 90.44 kB / 0.7637 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.08e-05/0.005018, allocations: 13.48 kB / 0.7637 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.00502, allocations: 1.375 kB / 0.7637 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.161e-05/0.005032, allocations: 9.516 kB / 0.7637 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001109/0.005143, allocations: 7.938 kB / 0.7637 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001802/0.005323, allocations: 106.1 kB / 0.7638 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.187e-05/0.005355, allocations: 59.34 kB / 0.7639 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.321e-05/0.005368, allocations: 0.625 kB / 0.7639 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.636e-05/0.005404, allocations: 52.06 kB / 0.7639 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of SimCode: time 6.01e-07/0.005405, allocations: 448 / 0.7639 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of Templates: time 0.002017/0.007422, allocations: 0.6998 MB / 0.7646 GB, free: 1.758 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 -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: 4.748697645962238]