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.00185/0.00185, allocations: 80.45 kB / 19.18 MB, free: 2.52 MB / 14.72 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.00153/0.00153, allocations: 160.8 kB / 22.45 MB, free: 5.375 MB / 14.72 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 1.455/1.455, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.879/2.879, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.473e-06/1.473e-06, allocations: 0 / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.843e-05/2.991e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.003057/0.003086, allocations: 1.455 MB / 0.9829 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0004431/0.003529, allocations: 159.4 kB / 0.983 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.131e-05/0.003561, allocations: 0 / 0.983 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.847e-05/0.003589, allocations: 3.938 kB / 0.983 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.147e-05/0.003631, allocations: 3.938 kB / 0.983 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003365/0.003967, allocations: 43.83 kB / 0.9831 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.082e-05/0.004028, allocations: 23.92 kB / 0.9831 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 7.112e-05/0.004099, allocations: 7.938 kB / 0.9831 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.681e-05/0.004136, allocations: 11.98 kB / 0.9831 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.968e-05/0.004176, allocations: 7.938 kB / 0.9831 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.00419, allocations: 4 kB / 0.9831 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001456/0.004335, allocations: 43.88 kB / 0.9832 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.426e-05/0.00435, allocations: 8 kB / 0.9832 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 1.678e-05/0.004367, allocations: 0 / 0.9832 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001535/0.00452, allocations: 55.8 kB / 0.9832 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.004525, allocations: 3.984 kB / 0.9832 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of FrontEnd: time 7.12e-07/0.004526, allocations: 4 kB / 0.9832 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.004531, allocations: 0 / 0.9832 GB, free: 10.11 MB / 0.9356 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.0004586/0.00499, allocations: 264.3 kB / 0.9835 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.005029, allocations: 12.03 kB / 0.9835 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.164e-05/0.00508, allocations: 4.891 kB / 0.9835 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.005228, allocations: 113.8 kB / 0.9836 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.639e-06/0.005237, allocations: 384 / 0.9836 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.075e-06/0.005245, allocations: 384 / 0.9836 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.005424, allocations: 54.17 kB / 0.9837 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.005431, allocations: 192 / 0.9837 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.005439, allocations: 384 / 0.9837 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.005446, allocations: 4.375 kB / 0.9837 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001725/0.005618, allocations: 39.89 kB / 0.9837 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003142/0.005932, allocations: 192.6 kB / 0.9839 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001792/0.006111, allocations: 30.56 kB / 0.9839 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/0.006236, allocations: 32.83 kB / 0.9839 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001554/0.006391, allocations: 7.984 kB / 0.9839 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.006427, allocations: 34.56 kB / 0.984 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.006428, allocations: 0 / 0.984 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003945/0.006823, allocations: 85.58 kB / 0.9841 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.006865, allocations: 51.41 kB / 0.9841 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.006966, allocations: 97.86 kB / 0.9842 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.006989, allocations: 29.7 kB / 0.9842 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.09e-05/0.00704, allocations: 84.09 kB / 0.9843 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.896e-05/0.007059, allocations: 7.984 kB / 0.9843 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.189e-05/0.007091, allocations: 13.72 kB / 0.9843 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.007231, allocations: 314.8 kB / 0.9846 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.592e-05/0.007317, allocations: 15.98 kB / 0.9846 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.852e-05/0.007396, allocations: 24.05 kB / 0.9847 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.007552, allocations: 36.81 kB / 0.9847 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.007556, allocations: 4 kB / 0.9847 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002224/0.007779, allocations: 69.61 kB / 0.9848 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.007794, allocations: 8 kB / 0.9848 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.007802, allocations: 11.97 kB / 0.9848 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.007814, allocations: 0 / 0.9848 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.933e-05/0.007893, allocations: 4 kB / 0.9848 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.007901, allocations: 3.938 kB / 0.9848 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.246e-05/0.007954, allocations: 12.11 kB / 0.9848 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.007966, allocations: 4 kB / 0.9848 GB, free: 8.305 MB / 0.9356 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 8.002e-05/0.008046, allocations: 105.8 kB / 0.9849 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.839e-05/0.008084, allocations: 3.984 kB / 0.9849 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002448/0.008329, allocations: 84.89 kB / 0.985 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.008331, allocations: 0 / 0.985 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.008334, allocations: 0 / 0.985 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.008337, allocations: 0 / 0.985 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.008471, allocations: 101.3 kB / 0.9851 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.008472, allocations: 0 / 0.9851 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.329e-05/0.008535, allocations: 11.98 kB / 0.9851 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.008537, allocations: 0 / 0.9851 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.008543, allocations: 0 / 0.9851 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.008546, allocations: 3.938 kB / 0.9851 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.008547, allocations: 4.031 kB / 0.9851 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003455/0.008893, allocations: 159.5 kB / 0.9853 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.227e-06/0.008902, allocations: 11.95 kB / 0.9853 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.008916, allocations: 3.984 kB / 0.9853 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.831e-05/0.008994, allocations: 7.938 kB / 0.9853 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.769e-05/0.009032, allocations: 11.98 kB / 0.9853 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.009035, allocations: 0 / 0.9853 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.369e-05/0.009079, allocations: 79.28 kB / 0.9854 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.009079, allocations: 4.031 kB / 0.9854 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002365/0.009316, allocations: 12 kB / 0.9854 GB, free: 7.652 MB / 0.9356 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.0002507/0.009566, allocations: 115.7 kB / 0.9855 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002218/0.009788, allocations: 39.84 kB / 0.9855 GB, free: 7.492 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.00979, allocations: 4.062 kB / 0.9855 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.274e-05/0.009883, allocations: 23.97 kB / 0.9856 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/0.01016, allocations: 0 / 0.9856 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003893/0.01055, allocations: 104.9 kB / 0.9857 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.76e-05/0.0106, allocations: 55.36 kB / 0.9857 GB, free: 7.262 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.34e-05/0.01063, allocations: 4 kB / 0.9857 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.546e-05/0.01065, allocations: 12.5 kB / 0.9857 GB, free: 7.246 MB / 0.9356 GB Notification: Performance of SimCode: time 3.8e-07/0.01065, allocations: 64 / 0.9857 GB, free: 7.246 MB / 0.9356 GB Notification: Performance of Templates: time 0.003395/0.01405, allocations: 0.6693 MB / 0.9864 GB, free: 6.578 MB / 0.9356 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.977998793125153]