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.000793/0.000793, allocations: 72.55 kB / 19.93 MB, free: 4.633 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.0009165/0.0009165, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8721/0.8721, allocations: 177.1 MB / 203.5 MB, free: 5.73 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 1.783/1.783, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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 1.643e-06/1.643e-06, allocations: 0 / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.667e-05/2.831e-05, allocations: 9.234 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002162/0.00219, allocations: 1.46 MB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00038/0.00257, allocations: 135.5 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.332e-05/0.002604, allocations: 4 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.252e-05/0.002636, allocations: 0 / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.156e-05/0.002688, allocations: 15.86 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004758/0.003163, allocations: 31.91 kB / 1.003 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.923e-05/0.003253, allocations: 23.88 kB / 1.003 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.003377, allocations: 11.97 kB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.12e-05/0.003428, allocations: 8 kB / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.335e-05/0.003471, allocations: 7.984 kB / 1.003 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.003491, allocations: 4 kB / 1.003 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001338/0.003625, allocations: 39.89 kB / 1.003 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.287e-05/0.003637, allocations: 8 kB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.317e-05/0.003661, allocations: 4 kB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001728/0.003833, allocations: 47.86 kB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.003842, allocations: 7.938 kB / 1.003 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.265e-06/0.003844, allocations: 0 / 1.003 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 7.565e-06/0.003852, allocations: 0 / 1.003 GB, free: 11.17 MB / 0.9636 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.0004901/0.004342, allocations: 262.3 kB / 1.003 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.986e-05/0.004402, allocations: 8.75 kB / 1.003 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.823e-05/0.00448, allocations: 8.938 kB / 1.003 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.004588, allocations: 105.7 kB / 1.003 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.004602, allocations: 4.375 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.004614, allocations: 4.375 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.004796, allocations: 50.23 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.004805, allocations: 192 / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.004819, allocations: 384 / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.004826, allocations: 384 / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.004931, allocations: 39.89 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003731/0.005304, allocations: 192.5 kB / 1.003 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.005422, allocations: 42.59 kB / 1.003 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.324e-05/0.005475, allocations: 16.91 kB / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001665/0.005642, allocations: 11.97 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.005676, allocations: 38.56 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.483e-06/0.005677, allocations: 0 / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0003092/0.005987, allocations: 89.56 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.006028, allocations: 55.41 kB / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.405e-05/0.006112, allocations: 101.8 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.006125, allocations: 25.7 kB / 1.004 GB, free: 9.988 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.848e-05/0.006174, allocations: 84.14 kB / 1.004 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/0.006202, allocations: 7.953 kB / 1.004 GB, free: 9.895 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.25e-05/0.006235, allocations: 13.66 kB / 1.004 GB, free: 9.875 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.006342, allocations: 314.8 kB / 1.004 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.313e-05/0.006405, allocations: 19.97 kB / 1.004 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.158e-05/0.006446, allocations: 16.8 kB / 1.004 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.942e-05/0.006536, allocations: 40.83 kB / 1.004 GB, free: 9.48 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.006539, allocations: 0 / 1.004 GB, free: 9.48 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001451/0.006684, allocations: 69.59 kB / 1.004 GB, free: 9.406 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.006702, allocations: 4 kB / 1.004 GB, free: 9.402 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.006711, allocations: 7.875 kB / 1.004 GB, free: 9.395 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.006728, allocations: 4.094 kB / 1.004 GB, free: 9.391 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.801e-05/0.006806, allocations: 11.98 kB / 1.004 GB, free: 9.379 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.006811, allocations: 0 / 1.004 GB, free: 9.379 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.646e-05/0.006838, allocations: 7.938 kB / 1.004 GB, free: 9.371 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.006847, allocations: 7.969 kB / 1.004 GB, free: 9.363 MB / 0.9636 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.471e-05/0.006932, allocations: 109.8 kB / 1.004 GB, free: 9.246 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.642e-05/0.006958, allocations: 0 / 1.004 GB, free: 9.246 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001887/0.007147, allocations: 76.91 kB / 1.004 GB, free: 9.16 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.00715, allocations: 0 / 1.004 GB, free: 9.16 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.007157, allocations: 4 kB / 1.004 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.007161, allocations: 3.938 kB / 1.004 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000125/0.007286, allocations: 109.3 kB / 1.005 GB, free: 9.016 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.007287, allocations: 0 / 1.005 GB, free: 9.016 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.463e-05/0.007322, allocations: 7.984 kB / 1.005 GB, free: 9.008 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.007325, allocations: 0 / 1.005 GB, free: 9.008 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.007334, allocations: 4 kB / 1.005 GB, free: 9.004 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.007339, allocations: 7.938 kB / 1.005 GB, free: 8.996 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.007342, allocations: 4.031 kB / 1.005 GB, free: 8.992 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001564/0.007498, allocations: 155.5 kB / 1.005 GB, free: 8.824 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.881e-06/0.007504, allocations: 0 / 1.005 GB, free: 8.824 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.007517, allocations: 4 kB / 1.005 GB, free: 8.82 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.7e-05/0.007554, allocations: 11.92 kB / 1.005 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.773e-05/0.007592, allocations: 4 kB / 1.005 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.007595, allocations: 0 / 1.005 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.871e-05/0.007624, allocations: 79.28 kB / 1.005 GB, free: 8.727 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.007624, allocations: 32 / 1.005 GB, free: 8.727 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001714/0.007795, allocations: 12 kB / 1.005 GB, free: 8.715 MB / 0.9636 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.0001672/0.007962, allocations: 119.1 kB / 1.005 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001374/0.0081, allocations: 35.95 kB / 1.005 GB, free: 8.555 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.008101, allocations: 0 / 1.005 GB, free: 8.555 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.82e-05/0.008139, allocations: 20.05 kB / 1.005 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.008377, allocations: 7.938 kB / 1.005 GB, free: 8.527 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002789/0.008656, allocations: 138.5 kB / 1.005 GB, free: 8.359 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.831e-05/0.008705, allocations: 67.28 kB / 1.005 GB, free: 8.273 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.164e-05/0.008726, allocations: 8.5 kB / 1.005 GB, free: 8.266 MB / 0.9636 GB Notification: Performance of SimCode: time 4.01e-07/0.008727, allocations: 3.938 kB / 1.005 GB, free: 8.262 MB / 0.9636 GB Notification: Performance of Templates: time 0.001799/0.01053, allocations: 0.7636 MB / 1.006 GB, free: 7.5 MB / 0.9636 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 6.43892858736217]