Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001344/0.001344, allocations: 80.3 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.002145/0.002145, allocations: 161.4 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.574/1.574, allocations: 177.2 MB / 202.8 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 178] 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 2.813/2.813, allocations: 359 MB / 0.6037 GB, free: 14.99 MB / 0.5762 GB " [Timeout remaining time 177] 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.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|E1.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|E1.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 0.951 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.238e-05/2.366e-05, allocations: 2.281 kB / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002554/0.002578, allocations: 1.46 MB / 0.9524 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0004374/0.003015, allocations: 151.5 kB / 0.9525 GB, free: 9.965 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.548e-05/0.003041, allocations: 0 / 0.9525 GB, free: 9.965 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.202e-05/0.003073, allocations: 7.938 kB / 0.9526 GB, free: 9.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.007e-05/0.003113, allocations: 3.938 kB / 0.9526 GB, free: 9.953 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003574/0.00347, allocations: 39.89 kB / 0.9526 GB, free: 9.914 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.819e-05/0.003538, allocations: 19.94 kB / 0.9526 GB, free: 9.895 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.684e-05/0.003625, allocations: 11.97 kB / 0.9526 GB, free: 9.883 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.594e-05/0.003661, allocations: 8 kB / 0.9526 GB, free: 9.875 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.957e-05/0.003701, allocations: 7.984 kB / 0.9526 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.003718, allocations: 4 kB / 0.9526 GB, free: 9.863 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.003853, allocations: 43.77 kB / 0.9527 GB, free: 9.82 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.428e-05/0.003867, allocations: 8 kB / 0.9527 GB, free: 9.812 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.949e-05/0.003887, allocations: 7.984 kB / 0.9527 GB, free: 9.805 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000142/0.004029, allocations: 43.94 kB / 0.9527 GB, free: 9.762 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.676e-06/0.004031, allocations: 3.938 kB / 0.9527 GB, free: 9.758 MB / 0.8575 GB Notification: Performance of FrontEnd: time 6.41e-07/0.004032, allocations: 7.938 kB / 0.9528 GB, free: 9.75 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.004036, allocations: 0 / 0.9528 GB, free: 9.75 MB / 0.8575 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.0004736/0.00451, allocations: 266.2 kB / 0.953 GB, free: 9.457 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.004545, allocations: 12.03 kB / 0.953 GB, free: 9.445 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.126e-05/0.004596, allocations: 0.9375 kB / 0.953 GB, free: 9.445 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.004718, allocations: 117.7 kB / 0.9531 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.004733, allocations: 384 / 0.9531 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.004749, allocations: 8.375 kB / 0.9531 GB, free: 9.297 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.004934, allocations: 46.19 kB / 0.9532 GB, free: 9.246 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.004945, allocations: 4.172 kB / 0.9532 GB, free: 9.242 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.004956, allocations: 4.375 kB / 0.9532 GB, free: 9.238 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.004961, allocations: 384 / 0.9532 GB, free: 9.238 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000178/0.005139, allocations: 35.91 kB / 0.9532 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003085/0.005447, allocations: 188.6 kB / 0.9534 GB, free: 8.988 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/0.005594, allocations: 42.5 kB / 0.9534 GB, free: 8.938 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.005696, allocations: 24.91 kB / 0.9535 GB, free: 8.91 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001483/0.005844, allocations: 7.984 kB / 0.9535 GB, free: 8.902 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.005875, allocations: 30.56 kB / 0.9535 GB, free: 8.863 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 3.206e-06/0.005878, allocations: 3.984 kB / 0.9535 GB, free: 8.859 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0004143/0.006292, allocations: 85.67 kB / 0.9536 GB, free: 8.77 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.006332, allocations: 55.44 kB / 0.9536 GB, free: 8.703 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.051e-05/0.006422, allocations: 101.8 kB / 0.9537 GB, free: 8.594 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.00644, allocations: 29.7 kB / 0.9538 GB, free: 8.559 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.588e-05/0.006496, allocations: 80.14 kB / 0.9538 GB, free: 8.477 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.006514, allocations: 7.891 kB / 0.9539 GB, free: 8.469 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.044e-05/0.006555, allocations: 17.72 kB / 0.9539 GB, free: 8.445 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.006701, allocations: 314.8 kB / 0.9542 GB, free: 8.129 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.215e-05/0.006793, allocations: 15.98 kB / 0.9542 GB, free: 8.113 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.324e-05/0.006876, allocations: 19.98 kB / 0.9542 GB, free: 8.094 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000163/0.007039, allocations: 32.83 kB / 0.9542 GB, free: 8.059 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.592e-06/0.007041, allocations: 4 kB / 0.9542 GB, free: 8.055 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002237/0.007265, allocations: 61.66 kB / 0.9543 GB, free: 7.988 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.007285, allocations: 8 kB / 0.9543 GB, free: 7.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.007291, allocations: 3.938 kB / 0.9543 GB, free: 7.977 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.007305, allocations: 8.031 kB / 0.9543 GB, free: 7.969 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.568e-05/0.007391, allocations: 11.92 kB / 0.9543 GB, free: 7.957 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.007395, allocations: 0 / 0.9543 GB, free: 7.957 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.41e-05/0.007449, allocations: 15.94 kB / 0.9543 GB, free: 7.941 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.007457, allocations: 4 kB / 0.9543 GB, free: 7.938 MB / 0.8575 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.376e-05/0.00753, allocations: 105.8 kB / 0.9545 GB, free: 7.824 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.561e-05/0.007566, allocations: 0 / 0.9545 GB, free: 7.824 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002438/0.00781, allocations: 84.84 kB / 0.9545 GB, free: 7.734 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.007814, allocations: 4 kB / 0.9545 GB, free: 7.73 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.007818, allocations: 0 / 0.9545 GB, free: 7.73 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.00782, allocations: 0 / 0.9545 GB, free: 7.73 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.007951, allocations: 101.3 kB / 0.9546 GB, free: 7.602 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.007952, allocations: 0 / 0.9546 GB, free: 7.602 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.243e-05/0.008024, allocations: 11.98 kB / 0.9546 GB, free: 7.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.008026, allocations: 0 / 0.9546 GB, free: 7.59 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.008036, allocations: 4 kB / 0.9546 GB, free: 7.586 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.688e-06/0.00804, allocations: 3.938 kB / 0.9547 GB, free: 7.582 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.008041, allocations: 0 / 0.9547 GB, free: 7.582 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000281/0.008322, allocations: 163.5 kB / 0.9548 GB, free: 7.406 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.568e-06/0.008332, allocations: 7.938 kB / 0.9548 GB, free: 7.398 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.008344, allocations: 0 / 0.9548 GB, free: 7.398 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.022e-05/0.008424, allocations: 11.92 kB / 0.9548 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.551e-05/0.00846, allocations: 0 / 0.9548 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.008463, allocations: 0 / 0.9548 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.424e-05/0.008507, allocations: 83.28 kB / 0.9549 GB, free: 7.305 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.008507, allocations: 0 / 0.9549 GB, free: 7.305 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002431/0.00875, allocations: 23.97 kB / 0.9549 GB, free: 7.281 MB / 0.8575 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.0001951/0.008945, allocations: 107.2 kB / 0.955 GB, free: 7.168 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002215/0.009167, allocations: 39.89 kB / 0.9551 GB, free: 7.129 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.009168, allocations: 0 / 0.9551 GB, free: 7.129 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.00927, allocations: 24.05 kB / 0.9551 GB, free: 7.105 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.009544, allocations: 0 / 0.9551 GB, free: 7.105 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003012/0.009845, allocations: 104.8 kB / 0.9552 GB, free: 6.977 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.407e-05/0.009909, allocations: 63.28 kB / 0.9553 GB, free: 6.895 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.455e-05/0.009933, allocations: 7.984 kB / 0.9553 GB, free: 6.887 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.403e-05/0.009957, allocations: 8.5 kB / 0.9553 GB, free: 6.879 MB / 0.8575 GB Notification: Performance of SimCode: time 3.31e-07/0.009958, allocations: 0 / 0.9553 GB, free: 6.879 MB / 0.8575 GB Notification: Performance of Templates: time 0.003341/0.0133, allocations: 0.7015 MB / 0.956 GB, free: 6.188 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.966734383255243]