Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0007813/0.0007813, allocations: 72.5 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.0007863/0.0007863, 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.9092/0.9092, 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 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.674/1.674, allocations: 359 MB / 0.6044 GB, free: 11.1 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.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|E1",fileNamePrefix="Buildings_11_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_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 0.9518 GB, free: 2.938 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.561e-05/1.713e-05, allocations: 2.281 kB / 0.9518 GB, free: 2.934 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.0009591/0.0009762, allocations: 0.5839 MB / 0.9524 GB, free: 2.344 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0002999/0.001276, allocations: 99.55 kB / 0.9524 GB, free: 2.246 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.117e-05/0.001287, allocations: 0 / 0.9524 GB, free: 2.246 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.942e-05/0.001307, allocations: 0 / 0.9524 GB, free: 2.246 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.823e-06/0.001314, allocations: 4 kB / 0.9525 GB, free: 2.242 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003723/0.001686, allocations: 31.89 kB / 0.9525 GB, free: 2.211 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 4.791e-05/0.001734, allocations: 0 / 0.9525 GB, free: 2.211 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.472e-05/0.001778, allocations: 4 kB / 0.9525 GB, free: 2.207 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 2.9e-05/0.001807, allocations: 0 / 0.9525 GB, free: 2.207 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 1.774e-05/0.001825, allocations: 0 / 0.9525 GB, free: 2.207 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.00184, allocations: 0 / 0.9525 GB, free: 2.207 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.001971, allocations: 43.83 kB / 0.9525 GB, free: 2.164 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.211e-05/0.001983, allocations: 3.938 kB / 0.9525 GB, free: 2.16 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.648e-05/0.001999, allocations: 3.984 kB / 0.9525 GB, free: 2.156 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001081/0.002107, allocations: 31.91 kB / 0.9526 GB, free: 2.125 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.503e-06/0.002109, allocations: 4 kB / 0.9526 GB, free: 2.121 MB / 0.9011 GB Notification: Performance of FrontEnd: time 6.61e-07/0.002109, allocations: 0 / 0.9526 GB, free: 2.121 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.002114, allocations: 0 / 0.9526 GB, free: 2.121 MB / 0.9011 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.0002519/0.002366, allocations: 244.5 kB / 0.9528 GB, free: 1.852 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.002405, allocations: 12.03 kB / 0.9528 GB, free: 1.84 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.461e-05/0.00246, allocations: 0.9375 kB / 0.9528 GB, free: 1.84 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.46e-05/0.002524, allocations: 101.8 kB / 0.9529 GB, free: 1.715 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.002535, allocations: 384 / 0.9529 GB, free: 1.715 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.819e-06/0.002545, allocations: 384 / 0.9529 GB, free: 1.715 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.441e-05/0.002639, allocations: 38.23 kB / 0.9529 GB, free: 1.672 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.002647, allocations: 8.125 kB / 0.953 GB, free: 1.664 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.002656, allocations: 384 / 0.953 GB, free: 1.664 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.00266, allocations: 384 / 0.953 GB, free: 1.664 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.096e-05/0.002681, allocations: 3.938 kB / 0.953 GB, free: 1.66 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001167/0.002798, allocations: 101.3 kB / 0.9531 GB, free: 1.531 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 4.052e-05/0.002839, allocations: 14.58 kB / 0.9531 GB, free: 1.508 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.756e-05/0.002856, allocations: 8.953 kB / 0.9531 GB, free: 1.496 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001847/0.003041, allocations: 7.984 kB / 0.9531 GB, free: 1.488 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.003062, allocations: 30.56 kB / 0.9531 GB, free: 1.449 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/0.003062, allocations: 0 / 0.9531 GB, free: 1.449 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.0001577/0.00322, allocations: 45.59 kB / 0.9532 GB, free: 1.398 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.003257, allocations: 59.39 kB / 0.9532 GB, free: 1.328 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.933e-05/0.003286, allocations: 89.86 kB / 0.9533 GB, free: 1.23 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.003297, allocations: 25.7 kB / 0.9533 GB, free: 1.199 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 2.296e-05/0.003319, allocations: 80.14 kB / 0.9534 GB, free: 1.117 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 3.126e-05/0.003351, allocations: 3.938 kB / 0.9534 GB, free: 1.113 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.062e-05/0.003371, allocations: 17.66 kB / 0.9534 GB, free: 1.09 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.21e-05/0.003453, allocations: 314.8 kB / 0.9537 GB, free: 0.7734 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.048e-05/0.003464, allocations: 4 kB / 0.9537 GB, free: 0.7695 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.32e-06/0.003469, allocations: 128 / 0.9537 GB, free: 0.7695 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.739e-05/0.003497, allocations: 16.86 kB / 0.9537 GB, free: 0.75 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.003499, allocations: 0 / 0.9537 GB, free: 0.75 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.668e-05/0.003546, allocations: 33.69 kB / 0.9538 GB, free: 0.7109 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.00356, allocations: 8 kB / 0.9538 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.003565, allocations: 0 / 0.9538 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.003578, allocations: 0 / 0.9538 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.33e-05/0.003621, allocations: 0 / 0.9538 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.003627, allocations: 0 / 0.9538 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.624e-06/0.003634, allocations: 7.938 kB / 0.9538 GB, free: 0.6953 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.00364, allocations: 0 / 0.9538 GB, free: 0.6953 MB / 0.9011 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 5.613e-05/0.003696, allocations: 115.8 kB / 0.9539 GB, free: 0.5742 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.616e-06/0.003705, allocations: 0 / 0.9539 GB, free: 0.5742 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.224e-05/0.003777, allocations: 44.62 kB / 0.9539 GB, free: 0.5273 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.00378, allocations: 4 kB / 0.9539 GB, free: 0.5234 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.003787, allocations: 4 kB / 0.954 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.00379, allocations: 0 / 0.954 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.731e-05/0.003847, allocations: 101.2 kB / 0.954 GB, free: 400 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.003848, allocations: 0 / 0.954 GB, free: 400 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.316e-06/0.003856, allocations: 4 kB / 0.9541 GB, free: 396 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.62e-07/0.003857, allocations: 32 / 0.9541 GB, free: 396 kB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.003863, allocations: 7.984 kB / 0.9541 GB, free: 388 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.003864, allocations: 0 / 0.9541 GB, free: 388 kB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.003865, allocations: 0 / 0.9541 GB, free: 388 kB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.705e-05/0.003922, allocations: 61.08 kB / 0.9541 GB, free: 308 kB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 4.298e-06/0.003926, allocations: 0 / 0.9541 GB, free: 308 kB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.858e-06/0.003936, allocations: 3.938 kB / 0.9541 GB, free: 304 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.528e-06/0.003941, allocations: 3.984 kB / 0.9541 GB, free: 300 kB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.772e-05/0.003958, allocations: 4 kB / 0.9541 GB, free: 296 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-06/0.003961, allocations: 0 / 0.9541 GB, free: 296 kB / 0.9011 GB Notification: Performance of sorting global known variables: time 2.34e-05/0.003985, allocations: 75.28 kB / 0.9542 GB, free: 220 kB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.003985, allocations: 4.031 kB / 0.9542 GB, free: 216 kB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001331/0.004118, allocations: 8 kB / 0.9542 GB, free: 208 kB / 0.9011 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.0001329/0.004251, allocations: 119 kB / 0.9543 GB, free: 76 kB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 5.598e-05/0.004307, allocations: 4 kB / 0.9543 GB, free: 72 kB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.004308, allocations: 0 / 0.9543 GB, free: 72 kB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 3.997e-06/0.004312, allocations: 4 kB / 0.9543 GB, free: 68 kB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.283e-05/0.004405, allocations: 8.125 kB / 0.9543 GB, free: 60 kB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001771/0.004582, allocations: 106.5 kB / 0.9544 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.349e-05/0.004616, allocations: 59.34 kB / 0.9545 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.408e-05/0.00463, allocations: 8.5 kB / 0.9545 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of SimCode: time 3.5e-07/0.00463, allocations: 0 / 0.9545 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of Templates: time 0.001367/0.005997, allocations: 0.5588 MB / 0.9551 GB, free: 15.28 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.520494487136602]