Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008686/0.0008686, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001147/0.002016, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007064/0.0007064, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009636/0.00167, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9412/0.9412, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.11/1.051, allocations: 53.65 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.875/1.875, allocations: 378.4 MB / 0.6079 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5847/2.459, allocations: 123.3 MB / 0.7283 GB, free: 5.738 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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.TrapezoidalIntegration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.7297 GB, free: 4.367 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.229e-05/1.363e-05, allocations: 3.031 kB / 0.7297 GB, free: 4.363 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001012/0.001026, allocations: 0.6539 MB / 0.7303 GB, free: 3.734 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 7.192e-05/0.001098, allocations: 33.09 kB / 0.7304 GB, free: 3.703 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.64e-05/0.001114, allocations: 0.6875 kB / 0.7304 GB, free: 3.703 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.562e-05/0.00113, allocations: 4.969 kB / 0.7304 GB, free: 3.699 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 1.588e-05/0.001146, allocations: 5.094 kB / 0.7304 GB, free: 3.695 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 7.794e-05/0.001224, allocations: 11.92 kB / 0.7304 GB, free: 3.684 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.363e-05/0.001287, allocations: 16.23 kB / 0.7304 GB, free: 3.672 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 2.925e-05/0.001317, allocations: 4 kB / 0.7304 GB, free: 3.668 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 3.518e-05/0.001352, allocations: 4.984 kB / 0.7304 GB, free: 3.664 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.546e-05/0.001397, allocations: 4 kB / 0.7304 GB, free: 3.66 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.00141, allocations: 0.5469 kB / 0.7304 GB, free: 3.66 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.826e-05/0.001489, allocations: 19.97 kB / 0.7304 GB, free: 3.641 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.869e-05/0.001517, allocations: 5.422 kB / 0.7304 GB, free: 3.637 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.308e-05/0.00153, allocations: 0.9844 kB / 0.7304 GB, free: 3.637 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 7.705e-05/0.001607, allocations: 22.17 kB / 0.7305 GB, free: 3.617 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.999e-06/0.001617, allocations: 8 kB / 0.7305 GB, free: 3.609 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.71e-07/0.001618, allocations: 0.8125 kB / 0.7305 GB, free: 3.609 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.307e-06/0.001627, allocations: 0 / 0.7305 GB, free: 3.609 MB / 0.698 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.0002446/0.001872, allocations: 252.7 kB / 0.7307 GB, free: 3.332 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.727e-05/0.001899, allocations: 8.031 kB / 0.7307 GB, free: 3.324 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.539e-05/0.001925, allocations: 4.938 kB / 0.7307 GB, free: 3.32 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.285e-05/0.001978, allocations: 109.7 kB / 0.7308 GB, free: 3.188 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.644e-06/0.001985, allocations: 0.9062 kB / 0.7308 GB, free: 3.188 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.795e-06/0.001993, allocations: 5.844 kB / 0.7308 GB, free: 3.184 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.86e-05/0.002082, allocations: 66.78 kB / 0.7309 GB, free: 3.105 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.648e-06/0.002086, allocations: 1.281 kB / 0.7309 GB, free: 3.105 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.23e-06/0.002092, allocations: 384 / 0.7309 GB, free: 3.105 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.755e-05/0.002119, allocations: 9.422 kB / 0.7309 GB, free: 3.098 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.261e-05/0.002142, allocations: 41.64 kB / 0.731 GB, free: 3.051 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001905/0.002332, allocations: 173.8 kB / 0.7311 GB, free: 2.863 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.654e-05/0.002369, allocations: 48.7 kB / 0.7312 GB, free: 2.801 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.451e-05/0.002383, allocations: 36.22 kB / 0.7312 GB, free: 2.758 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.196e-06/0.002386, allocations: 3.984 kB / 0.7312 GB, free: 2.754 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.775e-05/0.002404, allocations: 38.5 kB / 0.7312 GB, free: 2.707 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 7.31e-07/0.002405, allocations: 0 / 0.7312 GB, free: 2.707 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 9.532e-05/0.0025, allocations: 116.9 kB / 0.7314 GB, free: 2.57 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.067e-05/0.002521, allocations: 60.66 kB / 0.7314 GB, free: 2.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.069e-05/0.002572, allocations: 114.8 kB / 0.7315 GB, free: 2.375 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.895e-06/0.00258, allocations: 25.7 kB / 0.7315 GB, free: 2.344 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.762e-05/0.002617, allocations: 109.5 kB / 0.7317 GB, free: 2.234 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.95e-06/0.002622, allocations: 3.984 kB / 0.7317 GB, free: 2.23 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.472e-05/0.002647, allocations: 25.67 kB / 0.7317 GB, free: 2.199 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.364e-05/0.00271, allocations: 318.8 kB / 0.732 GB, free: 1.879 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.451e-05/0.002725, allocations: 35.03 kB / 0.732 GB, free: 1.84 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.184e-05/0.002757, allocations: 72.58 kB / 0.7321 GB, free: 1.738 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.803e-05/0.002825, allocations: 139.7 kB / 0.7322 GB, free: 1.566 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.002828, allocations: 4 kB / 0.7322 GB, free: 1.562 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.555e-05/0.002903, allocations: 131.1 kB / 0.7323 GB, free: 1.418 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.84e-05/0.002932, allocations: 34.58 kB / 0.7324 GB, free: 1.379 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.002937, allocations: 4 kB / 0.7324 GB, free: 1.375 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.938e-06/0.002947, allocations: 4.531 kB / 0.7324 GB, free: 1.371 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.609e-05/0.002993, allocations: 17.52 kB / 0.7324 GB, free: 1.355 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.002996, allocations: 4 kB / 0.7324 GB, free: 1.352 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.352e-05/0.00304, allocations: 7.938 kB / 0.7324 GB, free: 1.344 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.003051, allocations: 4 kB / 0.7324 GB, free: 1.34 MB / 0.698 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 4.92e-05/0.0031, allocations: 147.7 kB / 0.7326 GB, free: 1.18 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.388e-05/0.003114, allocations: 4.484 kB / 0.7326 GB, free: 1.176 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.194e-05/0.003126, allocations: 11.45 kB / 0.7326 GB, free: 1.164 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.003128, allocations: 1.25 kB / 0.7326 GB, free: 1.164 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.003129, allocations: 0 / 0.7326 GB, free: 1.164 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.003132, allocations: 0 / 0.7326 GB, free: 1.164 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.361e-05/0.003205, allocations: 62.67 kB / 0.7326 GB, free: 1.086 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.003206, allocations: 1.25 kB / 0.7326 GB, free: 1.086 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.003207, allocations: 0 / 0.7326 GB, free: 1.086 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.115e-06/0.003215, allocations: 7.953 kB / 0.7326 GB, free: 1.078 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.003216, allocations: 4.812 kB / 0.7327 GB, free: 1.074 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.218e-06/0.003221, allocations: 0 / 0.7327 GB, free: 1.074 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.003223, allocations: 4.516 kB / 0.7327 GB, free: 1.07 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.61e-07/0.003223, allocations: 0.6562 kB / 0.7327 GB, free: 1.07 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.403e-05/0.003307, allocations: 195.5 kB / 0.7328 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.865e-06/0.003315, allocations: 0 / 0.7328 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.723e-05/0.003352, allocations: 8.812 kB / 0.7329 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.548e-06/0.003362, allocations: 0 / 0.7329 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.766e-06/0.003365, allocations: 1.219 kB / 0.7329 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.537e-05/0.00338, allocations: 21.48 kB / 0.7329 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.00338, allocations: 0 / 0.7329 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001379/0.003518, allocations: 8 kB / 0.7329 GB, free: 0.8164 MB / 0.698 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 9.367e-05/0.003612, allocations: 81.83 kB / 0.733 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001007/0.003712, allocations: 145.5 kB / 0.7331 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.003716, allocations: 0 / 0.7331 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.518e-05/0.003752, allocations: 95.48 kB / 0.7332 GB, free: 464 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.019e-05/0.003842, allocations: 4 kB / 0.7332 GB, free: 460 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001587/0.004, allocations: 140.8 kB / 0.7333 GB, free: 288 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.895e-05/0.004029, allocations: 60.59 kB / 0.7334 GB, free: 208 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.783e-05/0.004047, allocations: 2.438 kB / 0.7334 GB, free: 208 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.79e-05/0.004085, allocations: 55.38 kB / 0.7334 GB, free: 152 kB / 0.698 GB Notification: Performance of SimCode: time 3.51e-07/0.004086, allocations: 0 / 0.7334 GB, free: 152 kB / 0.698 GB Notification: Performance of Templates: time 0.001835/0.005921, allocations: 0.5479 MB / 0.734 GB, free: 15.62 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration/Buildings_12_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: 4.961738367564976]