Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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.00113/0.00113, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0007919/0.0007919, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.8595/0.8595, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.714/1.714, allocations: 389 MB / 0.6338 GB, free: 12.71 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.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|E1",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|E1",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.111e-05/2.286e-05, allocations: 2.281 kB / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001033/0.001056, allocations: 0.5915 MB / 1.002 GB, free: 12.37 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0002769/0.001333, allocations: 79.69 kB / 1.002 GB, free: 12.29 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.261e-05/0.001345, allocations: 0 / 1.002 GB, free: 12.29 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.415e-05/0.001359, allocations: 0 / 1.002 GB, free: 12.29 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.863e-06/0.001366, allocations: 3.938 kB / 1.002 GB, free: 12.29 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003525/0.001719, allocations: 35.89 kB / 1.002 GB, free: 12.25 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 4.002e-05/0.001759, allocations: 0 / 1.002 GB, free: 12.25 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.752e-05/0.001796, allocations: 4 kB / 1.002 GB, free: 12.25 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 2.495e-05/0.001821, allocations: 0 / 1.002 GB, free: 12.25 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 1.452e-05/0.001836, allocations: 0 / 1.002 GB, free: 12.25 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.001848, allocations: 0 / 1.002 GB, free: 12.25 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.001966, allocations: 43.83 kB / 1.002 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 7.705e-06/0.001974, allocations: 0 / 1.002 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.255e-05/0.001986, allocations: 0 / 1.002 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.7e-05/0.002083, allocations: 27.95 kB / 1.002 GB, free: 12.18 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.696e-06/0.002086, allocations: 0 / 1.002 GB, free: 12.18 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.263e-06/0.002087, allocations: 4 kB / 1.002 GB, free: 12.17 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.002092, allocations: 0 / 1.002 GB, free: 12.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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002312/0.002324, allocations: 246.3 kB / 1.002 GB, free: 11.9 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.002357, allocations: 8.75 kB / 1.002 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.583e-05/0.002403, allocations: 4.938 kB / 1.002 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.227e-05/0.002455, allocations: 101.8 kB / 1.002 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.002467, allocations: 4.375 kB / 1.002 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.195e-06/0.002475, allocations: 384 / 1.002 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.273e-05/0.002558, allocations: 30.2 kB / 1.002 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.002565, allocations: 192 / 1.002 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.002573, allocations: 4.375 kB / 1.002 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.002577, allocations: 384 / 1.002 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.878e-05/0.002596, allocations: 11.92 kB / 1.002 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.735e-05/0.002693, allocations: 93.33 kB / 1.002 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 3.696e-05/0.00273, allocations: 22.61 kB / 1.002 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.282e-05/0.002743, allocations: 4.859 kB / 1.002 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001627/0.002906, allocations: 8.047 kB / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.002932, allocations: 38.5 kB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.002933, allocations: 0 / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0001241/0.003057, allocations: 29.83 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.003089, allocations: 63.34 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.745e-05/0.003117, allocations: 89.86 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.667e-06/0.003125, allocations: 25.7 kB / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 1.993e-05/0.003145, allocations: 80.14 kB / 1.003 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.729e-05/0.003172, allocations: 3.984 kB / 1.003 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.893e-05/0.003191, allocations: 13.72 kB / 1.003 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.576e-05/0.003267, allocations: 314.8 kB / 1.003 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.566e-06/0.003276, allocations: 0 / 1.003 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.089e-06/0.003281, allocations: 4 kB / 1.003 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.299e-05/0.003304, allocations: 16.86 kB / 1.003 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.003306, allocations: 4 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.619e-05/0.003352, allocations: 37.69 kB / 1.003 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.003364, allocations: 7.984 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.003368, allocations: 0 / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.003379, allocations: 0 / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.77e-05/0.003417, allocations: 4 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.003422, allocations: 0 / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.795e-06/0.00343, allocations: 7.875 kB / 1.003 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.003435, allocations: 0 / 1.003 GB, free: 10.74 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 (1): * Single equations (assignments): 1 * 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 0.0003277/0.003762, allocations: 113.9 kB / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.378e-06/0.003772, allocations: 3.953 kB / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.255e-05/0.003834, allocations: 44.62 kB / 1.003 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.003836, allocations: 0 / 1.003 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.00384, allocations: 0 / 1.003 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.003842, allocations: 0 / 1.003 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.881e-05/0.003891, allocations: 101.3 kB / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.003891, allocations: 0 / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.723e-06/0.003898, allocations: 0 / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.52e-07/0.003899, allocations: 0 / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.749e-06/0.003904, allocations: 0 / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.003905, allocations: 8.016 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.003907, allocations: 4 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.664e-05/0.003953, allocations: 65 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.576e-06/0.003957, allocations: 4 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.144e-06/0.003964, allocations: 0 / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.467e-06/0.003967, allocations: 0 / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.153e-05/0.003979, allocations: 0 / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-06/0.003981, allocations: 0 / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.066e-05/0.004001, allocations: 79.27 kB / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of sort global known variables: time 4e-08/0.004001, allocations: 0 / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001323/0.004133, allocations: 15.97 kB / 1.003 GB, free: 10.25 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 (1): * Single equations (assignments): 1 * 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.0001254/0.004259, allocations: 103.2 kB / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 5.839e-05/0.004317, allocations: 11.92 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.004319, allocations: 0 / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.027e-06/0.004323, allocations: 4 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.946e-05/0.004412, allocations: 3.938 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001694/0.004582, allocations: 110.8 kB / 1.004 GB, free: 9.977 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.022e-05/0.004612, allocations: 51.36 kB / 1.004 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.147e-05/0.004623, allocations: 8.5 kB / 1.004 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of SimCode: time 3.61e-07/0.004624, allocations: 0 / 1.004 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of Templates: time 0.001381/0.006005, allocations: 0.5456 MB / 1.004 GB, free: 9.355 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.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.3833279851824045]