Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.0007232/0.0007232, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001065/0.001789, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.000695/0.000695, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009101/0.001605, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.995/0.995, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09019/1.085, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.423/2.423, allocations: 447.1 MB / 0.675 GB, free: 5.914 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2479/2.671, allocations: 146 MB / 0.8176 GB, free: 3.84 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.TrapezoidalIntegration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.819 GB, free: 2.453 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.119e-05/2.26e-05, allocations: 2.312 kB / 0.819 GB, free: 2.449 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.00188/0.001903, allocations: 0.6579 MB / 0.8196 GB, free: 1.785 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0001043/0.002007, allocations: 35.83 kB / 0.8197 GB, free: 1.75 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.792e-05/0.002025, allocations: 0 / 0.8197 GB, free: 1.75 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.005e-05/0.002045, allocations: 0 / 0.8197 GB, free: 1.75 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.136e-05/0.002066, allocations: 3.984 kB / 0.8197 GB, free: 1.746 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001058/0.002172, allocations: 11.98 kB / 0.8197 GB, free: 1.734 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.3e-05/0.002245, allocations: 4 kB / 0.8197 GB, free: 1.73 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.042e-05/0.002285, allocations: 7.938 kB / 0.8197 GB, free: 1.723 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 4.913e-05/0.002335, allocations: 11.98 kB / 0.8197 GB, free: 1.711 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.052e-05/0.002385, allocations: 4 kB / 0.8197 GB, free: 1.707 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.0024, allocations: 0 / 0.8197 GB, free: 1.707 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 8.727e-05/0.002487, allocations: 19.98 kB / 0.8197 GB, free: 1.688 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 3.042e-05/0.002517, allocations: 0 / 0.8197 GB, free: 1.688 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.708e-05/0.002534, allocations: 7.938 kB / 0.8197 GB, free: 1.68 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001015/0.002636, allocations: 27.89 kB / 0.8198 GB, free: 1.652 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.532e-05/0.002651, allocations: 0 / 0.8198 GB, free: 1.652 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.463e-06/0.002653, allocations: 0 / 0.8198 GB, free: 1.652 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.527e-05/0.002668, allocations: 3.938 kB / 0.8198 GB, free: 1.648 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003298/0.002998, allocations: 254.4 kB / 0.82 GB, free: 1.367 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.003028, allocations: 16.03 kB / 0.82 GB, free: 1.352 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.054e-05/0.003059, allocations: 0.9375 kB / 0.82 GB, free: 1.352 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.977e-05/0.003119, allocations: 109.8 kB / 0.8201 GB, free: 1.219 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.629e-06/0.003128, allocations: 384 / 0.8201 GB, free: 1.219 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.368e-06/0.003138, allocations: 384 / 0.8201 GB, free: 1.219 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.003244, allocations: 66.78 kB / 0.8202 GB, free: 1.141 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.003251, allocations: 4.188 kB / 0.8202 GB, free: 1.137 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.652e-06/0.003257, allocations: 384 / 0.8202 GB, free: 1.137 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.012e-05/0.003287, allocations: 4.375 kB / 0.8202 GB, free: 1.133 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.882e-05/0.003316, allocations: 49.55 kB / 0.8202 GB, free: 1.078 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002134/0.00353, allocations: 173.8 kB / 0.8204 GB, free: 0.8906 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 4.326e-05/0.003573, allocations: 48.28 kB / 0.8205 GB, free: 0.8281 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.484e-05/0.003588, allocations: 30.56 kB / 0.8205 GB, free: 0.7891 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 3.457e-06/0.003591, allocations: 8 kB / 0.8205 GB, free: 0.7812 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.003615, allocations: 38.48 kB / 0.8205 GB, free: 0.7344 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=1): time 9.11e-07/0.003616, allocations: 0 / 0.8205 GB, free: 0.7344 MB / 0.7917 GB Notification: Performance of matching and sorting (n=1): time 0.0001122/0.003728, allocations: 114.8 kB / 0.8206 GB, free: 0.5977 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.26e-05/0.00375, allocations: 51.41 kB / 0.8207 GB, free: 0.5352 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.712e-05/0.003817, allocations: 114.8 kB / 0.8208 GB, free: 420 kB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.00383, allocations: 33.69 kB / 0.8208 GB, free: 380 kB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 4.275e-05/0.003872, allocations: 107.9 kB / 0.8209 GB, free: 268 kB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 5.079e-06/0.003877, allocations: 4.125 kB / 0.8209 GB, free: 264 kB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.681e-05/0.003904, allocations: 25.67 kB / 0.821 GB, free: 232 kB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 8.471e-05/0.003989, allocations: 318.8 kB / 0.8213 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.742e-05/0.004006, allocations: 29.7 kB / 0.8213 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.089e-05/0.004047, allocations: 84.5 kB / 0.8214 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.973e-05/0.004117, allocations: 133 kB / 0.8215 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.004121, allocations: 4 kB / 0.8215 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.674e-05/0.004208, allocations: 132.8 kB / 0.8216 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.343e-05/0.004241, allocations: 33.69 kB / 0.8217 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.004246, allocations: 4 kB / 0.8217 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.004259, allocations: 256 / 0.8217 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.435e-05/0.004313, allocations: 19.94 kB / 0.8217 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.004318, allocations: 4 kB / 0.8217 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.855e-05/0.004366, allocations: 7.938 kB / 0.8217 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.004379, allocations: 4 kB / 0.8217 GB, free: 15.36 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 6.248e-05/0.004442, allocations: 146.4 kB / 0.8218 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.581e-05/0.004458, allocations: 7.938 kB / 0.8218 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.086e-05/0.004468, allocations: 3.469 kB / 0.8218 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.004471, allocations: 3.984 kB / 0.8219 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.522e-06/0.004472, allocations: 0 / 0.8219 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.004475, allocations: 0 / 0.8219 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.916e-05/0.004544, allocations: 73.88 kB / 0.8219 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.004545, allocations: 0 / 0.8219 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.532e-06/0.004547, allocations: 7.938 kB / 0.8219 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.885e-06/0.004555, allocations: 3.953 kB / 0.8219 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.004557, allocations: 3.938 kB / 0.8219 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.547e-06/0.00456, allocations: 0 / 0.8219 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.004561, allocations: 0 / 0.8219 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.004562, allocations: 7.938 kB / 0.8219 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.234e-05/0.004645, allocations: 179 kB / 0.8221 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.925e-06/0.004653, allocations: 4 kB / 0.8221 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.239e-05/0.004685, allocations: 7.969 kB / 0.8221 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.975e-06/0.004693, allocations: 0 / 0.8221 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.004701, allocations: 7.984 kB / 0.8221 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.418e-05/0.004715, allocations: 12.86 kB / 0.8221 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.004715, allocations: 0 / 0.8221 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001343/0.004849, allocations: 8 kB / 0.8222 GB, free: 14.82 MB / 0.8073 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): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001217/0.004971, allocations: 88.41 kB / 0.8222 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001064/0.005077, allocations: 140.2 kB / 0.8224 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/0.005083, allocations: 12.09 kB / 0.8224 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.508e-05/0.005118, allocations: 89.95 kB / 0.8225 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001037/0.005222, allocations: 14.23 kB / 0.8225 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001889/0.005411, allocations: 133.1 kB / 0.8226 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.851e-05/0.005439, allocations: 55.36 kB / 0.8227 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.219e-05/0.005461, allocations: 7.922 kB / 0.8227 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.158e-05/0.005503, allocations: 59.47 kB / 0.8227 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of SimCode: time 6.41e-07/0.005504, allocations: 0 / 0.8227 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of Templates: time 0.002008/0.007512, allocations: 0.5467 MB / 0.8233 GB, free: 13.6 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.167049785144627]