Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00146/0.00146, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001749/0.001749, allocations: 169 kB / 23.27 MB, free: 1.227 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.9362/0.9362, allocations: 177.1 MB / 203.7 MB, free: 5.535 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.543/2.543, allocations: 438.1 MB / 0.682 GB, free: 14.2 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|E1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.725e-06/2.725e-06, allocations: 0 / 0.8897 GB, free: 9.766 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.801e-05/3.074e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.003161/0.003192, allocations: 1.502 MB / 0.8912 GB, free: 8.25 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0005343/0.003726, allocations: 135.6 kB / 0.8913 GB, free: 8.117 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.36e-05/0.00377, allocations: 0 / 0.8913 GB, free: 8.117 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.472e-05/0.003804, allocations: 0 / 0.8913 GB, free: 8.117 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.457e-05/0.003869, allocations: 11.88 kB / 0.8914 GB, free: 8.105 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004807/0.00435, allocations: 39.83 kB / 0.8914 GB, free: 8.066 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 8.684e-05/0.004437, allocations: 23.94 kB / 0.8914 GB, free: 8.043 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.004547, allocations: 7.984 kB / 0.8914 GB, free: 8.035 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 5.869e-05/0.004606, allocations: 8 kB / 0.8914 GB, free: 8.027 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.398e-05/0.00466, allocations: 7.922 kB / 0.8914 GB, free: 8.02 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.004686, allocations: 4 kB / 0.8914 GB, free: 8.016 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00015/0.004836, allocations: 43.94 kB / 0.8915 GB, free: 7.973 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.485e-05/0.004851, allocations: 0 / 0.8915 GB, free: 7.973 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.286e-05/0.004873, allocations: 4 kB / 0.8915 GB, free: 7.969 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001594/0.005033, allocations: 51.75 kB / 0.8915 GB, free: 7.918 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.005036, allocations: 0 / 0.8915 GB, free: 7.918 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.362e-06/0.005037, allocations: 4 kB / 0.8915 GB, free: 7.914 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.005042, allocations: 0 / 0.8915 GB, free: 7.914 MB / 0.8542 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.0003812/0.005423, allocations: 360.6 kB / 0.8919 GB, free: 7.523 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.005473, allocations: 16.62 kB / 0.8919 GB, free: 7.508 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.15e-05/0.005545, allocations: 4.891 kB / 0.8919 GB, free: 7.504 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.167e-05/0.005636, allocations: 108.6 kB / 0.892 GB, free: 7.371 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-06/0.005646, allocations: 384 / 0.892 GB, free: 7.371 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.434e-06/0.005653, allocations: 384 / 0.892 GB, free: 7.371 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.005785, allocations: 50.95 kB / 0.8921 GB, free: 7.312 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.005793, allocations: 192 / 0.8921 GB, free: 7.312 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-06/0.005801, allocations: 4.375 kB / 0.8921 GB, free: 7.309 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.005806, allocations: 8.297 kB / 0.8921 GB, free: 7.301 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.742e-05/0.005834, allocations: 7.938 kB / 0.8921 GB, free: 7.293 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002778/0.006112, allocations: 232.4 kB / 0.8923 GB, free: 7.039 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.74e-05/0.006169, allocations: 27.06 kB / 0.8923 GB, free: 7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.061e-05/0.00619, allocations: 11.72 kB / 0.8923 GB, free: 6.984 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001447/0.006334, allocations: 8.062 kB / 0.8923 GB, free: 6.977 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.006363, allocations: 41.33 kB / 0.8924 GB, free: 6.926 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.823e-06/0.006364, allocations: 0 / 0.8924 GB, free: 6.926 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0001896/0.006554, allocations: 45.72 kB / 0.8924 GB, free: 6.875 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.00659, allocations: 55.44 kB / 0.8925 GB, free: 6.809 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.269e-05/0.006683, allocations: 161.9 kB / 0.8926 GB, free: 6.633 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.006697, allocations: 25.7 kB / 0.8927 GB, free: 6.602 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.515e-05/0.006752, allocations: 134.8 kB / 0.8928 GB, free: 6.465 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.006777, allocations: 7.891 kB / 0.8928 GB, free: 6.457 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-05/0.006816, allocations: 23.38 kB / 0.8928 GB, free: 6.426 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.00698, allocations: 496.1 kB / 0.8933 GB, free: 5.93 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.7e-05/0.006997, allocations: 0 / 0.8933 GB, free: 5.93 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.605e-05/0.007013, allocations: 7.984 kB / 0.8933 GB, free: 5.922 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.633e-05/0.00705, allocations: 19.69 kB / 0.8933 GB, free: 5.898 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.007052, allocations: 0 / 0.8933 GB, free: 5.898 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001009/0.007153, allocations: 33.7 kB / 0.8934 GB, free: 5.859 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.007167, allocations: 4 kB / 0.8934 GB, free: 5.855 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.007172, allocations: 0 / 0.8934 GB, free: 5.855 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.007184, allocations: 3.938 kB / 0.8934 GB, free: 5.852 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.593e-05/0.00726, allocations: 12.17 kB / 0.8934 GB, free: 5.84 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.855e-06/0.007263, allocations: 0 / 0.8934 GB, free: 5.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.332e-05/0.007286, allocations: 0 / 0.8934 GB, free: 5.84 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.007292, allocations: 4 kB / 0.8934 GB, free: 5.836 MB / 0.8542 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 7.877e-05/0.007371, allocations: 164.6 kB / 0.8935 GB, free: 5.664 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.295e-05/0.007414, allocations: 7.922 kB / 0.8935 GB, free: 5.656 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.007514, allocations: 45 kB / 0.8936 GB, free: 5.605 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.007517, allocations: 3.938 kB / 0.8936 GB, free: 5.602 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.007519, allocations: 0 / 0.8936 GB, free: 5.602 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.007522, allocations: 0 / 0.8936 GB, free: 5.602 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/0.007647, allocations: 97.25 kB / 0.8937 GB, free: 5.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.007649, allocations: 0 / 0.8937 GB, free: 5.48 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.656e-05/0.007696, allocations: 8 kB / 0.8937 GB, free: 5.473 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.007699, allocations: 0 / 0.8937 GB, free: 5.473 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.007706, allocations: 8.031 kB / 0.8937 GB, free: 5.465 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.007708, allocations: 0 / 0.8937 GB, free: 5.465 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.007709, allocations: 0 / 0.8937 GB, free: 5.465 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/0.007852, allocations: 195.8 kB / 0.8939 GB, free: 5.254 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.436e-06/0.00786, allocations: 4 kB / 0.8939 GB, free: 5.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.013e-05/0.007871, allocations: 0 / 0.8939 GB, free: 5.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.636e-05/0.007927, allocations: 7.984 kB / 0.8939 GB, free: 5.242 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.101e-05/0.007958, allocations: 0 / 0.8939 GB, free: 5.242 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.007964, allocations: 3.938 kB / 0.8939 GB, free: 5.238 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.608e-05/0.00801, allocations: 123.2 kB / 0.894 GB, free: 5.117 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9e-08/0.00801, allocations: 4.031 kB / 0.894 GB, free: 5.113 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002366/0.008247, allocations: 11.98 kB / 0.894 GB, free: 5.102 MB / 0.8542 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.0001895/0.008436, allocations: 111.1 kB / 0.8941 GB, free: 4.98 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.255e-05/0.008509, allocations: 15.67 kB / 0.8942 GB, free: 4.961 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.008511, allocations: 4 kB / 0.8942 GB, free: 4.957 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.651e-05/0.008528, allocations: 11.62 kB / 0.8942 GB, free: 4.941 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001729/0.008701, allocations: 12.12 kB / 0.8942 GB, free: 4.93 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002028/0.008904, allocations: 110.3 kB / 0.8943 GB, free: 4.793 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.009227, allocations: 55.3 kB / 0.8943 GB, free: 4.719 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.659e-05/0.009244, allocations: 0 / 0.8943 GB, free: 4.719 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.897e-05/0.009293, allocations: 78.19 kB / 0.8944 GB, free: 4.641 MB / 0.8542 GB Notification: Performance of SimCode: time 8.22e-07/0.009294, allocations: 0 / 0.8944 GB, free: 4.641 MB / 0.8542 GB Notification: Performance of Templates: time 0.002242/0.01154, allocations: 0.742 MB / 0.8951 GB, free: 3.906 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.671878786757588]