Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001371/0.001371, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001025/0.001025, allocations: 168.5 kB / 24.86 MB, free: 8.316 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.9892/0.9892, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.761/1.761, allocations: 359 MB / 0.6063 GB, free: 10.87 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.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|E1.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|E1.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.143e-06/1.143e-06, allocations: 0 / 0.7883 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.24e-05/1.355e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.001624/0.001638, allocations: 1.484 MB / 0.7898 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002869/0.001925, allocations: 153.9 kB / 0.7899 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.24e-05/0.001947, allocations: 4 kB / 0.7899 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.131e-05/0.001969, allocations: 3.984 kB / 0.7899 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.643e-05/0.002005, allocations: 1.594 kB / 0.7899 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003043/0.002309, allocations: 47.7 kB / 0.79 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.814e-05/0.002367, allocations: 27.92 kB / 0.79 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 6.736e-05/0.002435, allocations: 0 / 0.79 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.992e-05/0.002465, allocations: 9.219 kB / 0.79 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.995e-05/0.002495, allocations: 7.984 kB / 0.79 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.002507, allocations: 0 / 0.79 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.002609, allocations: 43.94 kB / 0.79 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.122e-05/0.00262, allocations: 4.562 kB / 0.79 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.439e-05/0.002635, allocations: 9.406 kB / 0.7901 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.002744, allocations: 51.8 kB / 0.7901 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.002746, allocations: 4 kB / 0.7901 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.72e-07/0.002747, allocations: 0 / 0.7901 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.456e-06/0.002751, allocations: 0.75 kB / 0.7901 GB, free: 10.34 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002639/0.003014, allocations: 352.6 kB / 0.7904 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.003047, allocations: 8.938 kB / 0.7905 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.711e-05/0.003094, allocations: 8.891 kB / 0.7905 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.751e-05/0.003162, allocations: 113.3 kB / 0.7906 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.003171, allocations: 4.359 kB / 0.7906 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.53e-06/0.003177, allocations: 5.438 kB / 0.7906 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.927e-05/0.003256, allocations: 50.95 kB / 0.7906 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.139e-06/0.003261, allocations: 7.312 kB / 0.7906 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.641e-06/0.003267, allocations: 384 / 0.7906 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.003271, allocations: 4.359 kB / 0.7906 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.119e-05/0.003292, allocations: 11.88 kB / 0.7907 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001847/0.003477, allocations: 232.5 kB / 0.7909 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.443e-05/0.003512, allocations: 27.06 kB / 0.7909 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.237e-05/0.003524, allocations: 11.69 kB / 0.7909 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.183e-05/0.003596, allocations: 8.047 kB / 0.7909 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.755e-05/0.003613, allocations: 38.11 kB / 0.791 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.003614, allocations: 3.938 kB / 0.791 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001055/0.00372, allocations: 43.25 kB / 0.791 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.337e-05/0.003743, allocations: 51.41 kB / 0.791 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.414e-05/0.003797, allocations: 165.9 kB / 0.7912 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/0.003806, allocations: 27.36 kB / 0.7912 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.518e-05/0.003841, allocations: 134.9 kB / 0.7914 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.422e-05/0.003855, allocations: 7.891 kB / 0.7914 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.369e-05/0.003879, allocations: 19.38 kB / 0.7914 GB, free: 8.863 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.003989, allocations: 0.4884 MB / 0.7919 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.606e-06/0.003998, allocations: 1.344 kB / 0.7919 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.765e-06/0.004006, allocations: 4 kB / 0.7919 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.42e-05/0.00403, allocations: 25.2 kB / 0.7919 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.004032, allocations: 0 / 0.7919 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.263e-05/0.004084, allocations: 33.7 kB / 0.7919 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.004094, allocations: 7.984 kB / 0.7919 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.004098, allocations: 1.688 kB / 0.7919 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.875e-06/0.004106, allocations: 3.938 kB / 0.7919 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.264e-05/0.004148, allocations: 4 kB / 0.7919 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.004152, allocations: 4 kB / 0.7919 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.469e-05/0.004166, allocations: 0.9062 kB / 0.7919 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.695e-06/0.004169, allocations: 0 / 0.7919 GB, free: 8.273 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 (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 5.293e-05/0.004222, allocations: 161.1 kB / 0.7921 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.032e-05/0.004242, allocations: 4.453 kB / 0.7921 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.513e-05/0.004297, allocations: 49.47 kB / 0.7922 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.0043, allocations: 5.094 kB / 0.7922 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.004301, allocations: 0 / 0.7922 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.004303, allocations: 0 / 0.7922 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.822e-05/0.004381, allocations: 97.2 kB / 0.7922 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.004382, allocations: 0.5 kB / 0.7923 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.863e-05/0.004401, allocations: 8.516 kB / 0.7923 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.21e-07/0.004402, allocations: 1.375 kB / 0.7923 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.729e-06/0.004406, allocations: 8 kB / 0.7923 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.31e-07/0.004407, allocations: 0 / 0.7923 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-07/0.004407, allocations: 0 / 0.7923 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003259/0.004733, allocations: 185 kB / 0.7924 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.454e-06/0.004741, allocations: 11.98 kB / 0.7925 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.873e-06/0.004747, allocations: 0.9375 kB / 0.7925 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.749e-05/0.004775, allocations: 0 / 0.7925 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.304e-05/0.004798, allocations: 4 kB / 0.7925 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-06/0.0048, allocations: 4.75 kB / 0.7925 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.14e-05/0.004832, allocations: 131.2 kB / 0.7926 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.004832, allocations: 0.9375 kB / 0.7926 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001621/0.004994, allocations: 11.94 kB / 0.7926 GB, free: 7.547 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 (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.0001109/0.005105, allocations: 116.1 kB / 0.7927 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.738e-05/0.005162, allocations: 13.97 kB / 0.7927 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.12e-07/0.005163, allocations: 0 / 0.7927 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.427e-05/0.005177, allocations: 15.62 kB / 0.7927 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000157/0.005334, allocations: 9.812 kB / 0.7928 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001724/0.005507, allocations: 118.1 kB / 0.7929 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.673e-05/0.005533, allocations: 59.28 kB / 0.7929 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.337e-05/0.005547, allocations: 0 / 0.7929 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.45e-05/0.005581, allocations: 70.2 kB / 0.793 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of SimCode: time 6.82e-07/0.005582, allocations: 0 / 0.793 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of Templates: time 0.002016/0.007598, allocations: 0.7741 MB / 0.7937 GB, free: 6.352 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.9862344628199935]