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.0009646/0.0009646, allocations: 87.58 kB / 20.45 MB, free: 4.125 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.001001/0.001001, allocations: 161.4 kB / 23.82 MB, free: 0.7578 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.9668/0.9668, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.815/1.815, allocations: 359 MB / 0.6052 GB, free: 10.98 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 9.52e-07/9.52e-07, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.147e-06/1.01e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.001555/0.001565, allocations: 1.484 MB / 0.7886 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002686/0.001834, allocations: 151 kB / 0.7887 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.675e-05/0.001851, allocations: 0 / 0.7887 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.89e-05/0.00187, allocations: 3.938 kB / 0.7887 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 2.604e-05/0.001896, allocations: 4 kB / 0.7887 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002143/0.00211, allocations: 47.75 kB / 0.7888 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 3.67e-05/0.002147, allocations: 21 kB / 0.7888 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.422e-05/0.002191, allocations: 7.984 kB / 0.7888 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.081e-05/0.002212, allocations: 8 kB / 0.7888 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.308e-05/0.002235, allocations: 8.953 kB / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 8.856e-06/0.002244, allocations: 0 / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.322e-05/0.002327, allocations: 47.88 kB / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.357e-06/0.002336, allocations: 4.688 kB / 0.7888 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.52e-05/0.002351, allocations: 8 kB / 0.7889 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.05e-05/0.002442, allocations: 50.33 kB / 0.7889 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.363e-06/0.002443, allocations: 0 / 0.7889 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.41e-07/0.002444, allocations: 0 / 0.7889 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.865e-06/0.002447, allocations: 0 / 0.7889 GB, free: 10.65 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.0002673/0.002714, allocations: 356.6 kB / 0.7892 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.66e-05/0.002741, allocations: 8.031 kB / 0.7893 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.925e-05/0.00279, allocations: 18.64 kB / 0.7893 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.987e-05/0.00285, allocations: 112.6 kB / 0.7894 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.346e-06/0.002858, allocations: 4.312 kB / 0.7894 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.193e-06/0.002865, allocations: 384 / 0.7894 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.657e-05/0.002952, allocations: 55.53 kB / 0.7894 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.002958, allocations: 192 / 0.7894 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.871e-06/0.002964, allocations: 1.562 kB / 0.7894 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.002969, allocations: 384 / 0.7894 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.461e-05/0.002993, allocations: 11.94 kB / 0.7894 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001926/0.003186, allocations: 245.6 kB / 0.7897 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.902e-05/0.003225, allocations: 35 kB / 0.7897 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.621e-05/0.003241, allocations: 11.75 kB / 0.7897 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.741e-05/0.003319, allocations: 7.984 kB / 0.7897 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.686e-05/0.003335, allocations: 34.7 kB / 0.7898 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.003336, allocations: 0 / 0.7898 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001173/0.003454, allocations: 45.59 kB / 0.7898 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.495e-05/0.003479, allocations: 61.28 kB / 0.7899 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.574e-05/0.003544, allocations: 161.9 kB / 0.79 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.003554, allocations: 25.7 kB / 0.79 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.841e-05/0.003593, allocations: 130.9 kB / 0.7902 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.222e-05/0.003605, allocations: 7.891 kB / 0.7902 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.751e-05/0.003633, allocations: 33.95 kB / 0.7902 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.003741, allocations: 492.1 kB / 0.7907 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.416e-05/0.003756, allocations: 4 kB / 0.7907 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.195e-06/0.003764, allocations: 0 / 0.7907 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.371e-05/0.003787, allocations: 11.69 kB / 0.7907 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.003789, allocations: 0 / 0.7907 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.809e-05/0.003847, allocations: 50.88 kB / 0.7907 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/0.003856, allocations: 5.719 kB / 0.7908 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.003861, allocations: 4.469 kB / 0.7908 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.003871, allocations: 0 / 0.7908 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.448e-05/0.003916, allocations: 5.656 kB / 0.7908 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.003919, allocations: 0 / 0.7908 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.405e-05/0.003933, allocations: 4 kB / 0.7908 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.00394, allocations: 3.984 kB / 0.7908 GB, free: 8.543 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.509e-05/0.003995, allocations: 157.1 kB / 0.7909 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.124e-05/0.004016, allocations: 8.547 kB / 0.7909 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.856e-05/0.004085, allocations: 53.64 kB / 0.791 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.004086, allocations: 0 / 0.791 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.004089, allocations: 1.156 kB / 0.791 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.004091, allocations: 192 / 0.791 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.524e-05/0.004176, allocations: 120.6 kB / 0.7911 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.004177, allocations: 1.375 kB / 0.7911 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.922e-05/0.004196, allocations: 11.92 kB / 0.7911 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.0042, allocations: 4 kB / 0.7911 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.228e-06/0.004204, allocations: 0.9062 kB / 0.7911 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.004206, allocations: 3.938 kB / 0.7911 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.004207, allocations: 0 / 0.7911 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.098e-05/0.004288, allocations: 188.7 kB / 0.7913 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.038e-06/0.004292, allocations: 5.281 kB / 0.7913 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.284e-06/0.004299, allocations: 0 / 0.7913 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.039e-05/0.004329, allocations: 7.938 kB / 0.7913 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.281e-05/0.004352, allocations: 3.984 kB / 0.7913 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.004359, allocations: 0.8438 kB / 0.7913 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.096e-05/0.00439, allocations: 127.2 kB / 0.7914 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.00439, allocations: 1.25 kB / 0.7914 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001459/0.004536, allocations: 11.94 kB / 0.7914 GB, free: 7.785 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.0001069/0.004643, allocations: 108.5 kB / 0.7916 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.515e-05/0.004698, allocations: 21.41 kB / 0.7916 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.22e-07/0.004699, allocations: 0 / 0.7916 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.663e-05/0.004716, allocations: 19.67 kB / 0.7916 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000143/0.004859, allocations: 2.562 kB / 0.7916 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001739/0.005033, allocations: 118.3 kB / 0.7917 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.781e-05/0.00506, allocations: 51.36 kB / 0.7918 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.11e-05/0.005072, allocations: 4 kB / 0.7918 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.591e-05/0.005087, allocations: 9 kB / 0.7918 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of SimCode: time 3.51e-07/0.005088, allocations: 0.5312 kB / 0.7918 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of Templates: time 0.001967/0.007055, allocations: 0.6952 MB / 0.7924 GB, free: 6.727 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: 5.022314148023725]