Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009263/0.0009263, allocations: 83.59 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.001742/0.001742, allocations: 165 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 0.9505/0.9505, allocations: 177.1 MB / 204.2 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.72/1.72, allocations: 359 MB / 0.6052 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.7872 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.633e-05/2.788e-05, allocations: 10.25 kB / 0.7872 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001232/0.00126, allocations: 0.594 MB / 0.7877 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000285/0.001545, allocations: 92.52 kB / 0.7878 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.326e-05/0.001559, allocations: 1.406 kB / 0.7878 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.672e-05/0.001575, allocations: 0 / 0.7878 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.472e-06/0.001582, allocations: 0 / 0.7878 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003718/0.001954, allocations: 44.89 kB / 0.7879 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.131e-05/0.001995, allocations: 0 / 0.7879 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.818e-05/0.002033, allocations: 0 / 0.7879 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.322e-05/0.002056, allocations: 1.562 kB / 0.7879 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 1.614e-05/0.002072, allocations: 4 kB / 0.7879 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.002085, allocations: 0 / 0.7879 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.002206, allocations: 39.88 kB / 0.7879 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.297e-06/0.002216, allocations: 1.281 kB / 0.7879 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.521e-05/0.002231, allocations: 3.938 kB / 0.7879 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.002335, allocations: 27.97 kB / 0.788 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.002337, allocations: 0 / 0.788 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.81e-07/0.002338, allocations: 2.062 kB / 0.788 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.002343, allocations: 4 kB / 0.788 GB, free: 11.61 MB / 0.7448 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.0002512/0.002594, allocations: 348.2 kB / 0.7883 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.002632, allocations: 8.031 kB / 0.7883 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.689e-05/0.002709, allocations: 0.9375 kB / 0.7883 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.852e-05/0.002768, allocations: 114.8 kB / 0.7884 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.002778, allocations: 384 / 0.7884 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.669e-06/0.002788, allocations: 4.375 kB / 0.7884 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.793e-05/0.002866, allocations: 34.25 kB / 0.7884 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-06/0.002871, allocations: 192 / 0.7884 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.00288, allocations: 384 / 0.7884 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.002886, allocations: 1.938 kB / 0.7884 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.374e-05/0.0029, allocations: 3.938 kB / 0.7884 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001003/0.003, allocations: 108.6 kB / 0.7886 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.064e-05/0.003041, allocations: 27 kB / 0.7886 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.791e-05/0.003059, allocations: 8.844 kB / 0.7886 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001555/0.003214, allocations: 12.08 kB / 0.7886 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.003237, allocations: 38.55 kB / 0.7886 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.003238, allocations: 0 / 0.7886 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001326/0.00337, allocations: 33.64 kB / 0.7887 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.003401, allocations: 56.77 kB / 0.7887 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.093e-05/0.003442, allocations: 142.2 kB / 0.7889 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.827e-06/0.00345, allocations: 25.7 kB / 0.7889 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.727e-05/0.003478, allocations: 128.6 kB / 0.789 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.073e-05/0.003508, allocations: 8 kB / 0.789 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.203e-05/0.00354, allocations: 15.38 kB / 0.789 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003212/0.003862, allocations: 496.1 kB / 0.7895 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.229e-05/0.003874, allocations: 7.938 kB / 0.7895 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.27e-06/0.003879, allocations: 0.9375 kB / 0.7895 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.904e-05/0.003908, allocations: 8.281 kB / 0.7895 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.00391, allocations: 4 kB / 0.7895 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.045e-05/0.003971, allocations: 43.91 kB / 0.7896 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.003983, allocations: 4 kB / 0.7896 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.003988, allocations: 0 / 0.7896 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.003999, allocations: 0 / 0.7896 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.234e-05/0.004041, allocations: 4 kB / 0.7896 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.004046, allocations: 2.469 kB / 0.7896 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.14e-05/0.004058, allocations: 11.89 kB / 0.7896 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.004063, allocations: 0 / 0.7896 GB, free: 9.75 MB / 0.7448 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.891e-05/0.004122, allocations: 156.6 kB / 0.7897 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.004135, allocations: 3.984 kB / 0.7897 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.725e-05/0.004203, allocations: 37.41 kB / 0.7898 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.004204, allocations: 0 / 0.7898 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.004207, allocations: 0.5312 kB / 0.7898 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.00421, allocations: 1.656 kB / 0.7898 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.791e-05/0.004268, allocations: 116.6 kB / 0.7899 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.004269, allocations: 0 / 0.7899 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.076e-05/0.004279, allocations: 3.938 kB / 0.7899 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.004282, allocations: 3.984 kB / 0.7899 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.004287, allocations: 0.6562 kB / 0.7899 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.004288, allocations: 0 / 0.7899 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.004289, allocations: 4.844 kB / 0.7899 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.935e-05/0.004349, allocations: 65.23 kB / 0.79 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.497e-06/0.004352, allocations: 4 kB / 0.79 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.185e-06/0.00436, allocations: 0 / 0.79 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.248e-06/0.004365, allocations: 5.266 kB / 0.79 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.283e-05/0.004377, allocations: 0 / 0.79 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-06/0.004379, allocations: 0 / 0.79 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.731e-05/0.004407, allocations: 120.6 kB / 0.7901 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.7e-07/0.004407, allocations: 0 / 0.7901 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001407/0.004548, allocations: 12 kB / 0.7901 GB, free: 9.156 MB / 0.7448 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.0001584/0.004706, allocations: 121.5 kB / 0.7902 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.284e-05/0.004779, allocations: 16.81 kB / 0.7902 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.004781, allocations: 0 / 0.7902 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.573e-06/0.004787, allocations: 11.69 kB / 0.7902 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.617e-05/0.004883, allocations: 4.875 kB / 0.7902 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001739/0.005057, allocations: 87.95 kB / 0.7903 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.951e-05/0.005087, allocations: 55.34 kB / 0.7904 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.118e-05/0.005098, allocations: 3.984 kB / 0.7904 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.625e-05/0.005114, allocations: 8.5 kB / 0.7904 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of SimCode: time 5.52e-07/0.005115, allocations: 0 / 0.7904 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of Templates: time 0.002176/0.007291, allocations: 463.9 kB / 0.7908 GB, free: 8.359 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.792980853002518]