Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008114/0.0008114, 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.0008041/0.0008041, 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.8376/0.8376, 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.595/1.595, allocations: 359 MB / 0.6044 GB, free: 11.05 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.TrapezoidalIntegration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_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_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 0.9518 GB, free: 2.914 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.105e-05/2.254e-05, allocations: 5.234 kB / 0.9518 GB, free: 2.91 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001214/0.001237, allocations: 0.5955 MB / 0.9524 GB, free: 2.309 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.000195/0.001432, allocations: 35.83 kB / 0.9524 GB, free: 2.273 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.81e-05/0.00145, allocations: 4 kB / 0.9524 GB, free: 2.27 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.77e-05/0.001478, allocations: 0 / 0.9524 GB, free: 2.27 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.032e-05/0.001518, allocations: 3.984 kB / 0.9524 GB, free: 2.266 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002046/0.001723, allocations: 8 kB / 0.9524 GB, free: 2.258 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.159e-05/0.001804, allocations: 11.92 kB / 0.9524 GB, free: 2.246 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.902e-05/0.001843, allocations: 4 kB / 0.9524 GB, free: 2.242 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.161e-05/0.001875, allocations: 0 / 0.9524 GB, free: 2.242 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.43e-05/0.001919, allocations: 3.984 kB / 0.9524 GB, free: 2.238 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.001934, allocations: 4 kB / 0.9524 GB, free: 2.234 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.908e-05/0.002003, allocations: 23.91 kB / 0.9525 GB, free: 2.211 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.829e-05/0.002031, allocations: 4 kB / 0.9525 GB, free: 2.207 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.897e-05/0.00205, allocations: 4 kB / 0.9525 GB, free: 2.203 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.25e-05/0.002143, allocations: 27.86 kB / 0.9525 GB, free: 2.176 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.002145, allocations: 4 kB / 0.9525 GB, free: 2.172 MB / 0.9011 GB Notification: Performance of FrontEnd: time 8.12e-07/0.002146, allocations: 0 / 0.9525 GB, free: 2.172 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.002151, allocations: 0 / 0.9525 GB, free: 2.172 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002705/0.002422, allocations: 276 kB / 0.9528 GB, free: 1.863 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.002455, allocations: 8.031 kB / 0.9528 GB, free: 1.855 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.386e-05/0.002489, allocations: 4.938 kB / 0.9528 GB, free: 1.852 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.431e-05/0.002553, allocations: 109.8 kB / 0.9529 GB, free: 1.719 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.002564, allocations: 4.375 kB / 0.9529 GB, free: 1.715 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.002574, allocations: 8.359 kB / 0.9529 GB, free: 1.707 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.002708, allocations: 79.95 kB / 0.953 GB, free: 1.617 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.002717, allocations: 192 / 0.953 GB, free: 1.617 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.002726, allocations: 384 / 0.953 GB, free: 1.617 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.596e-05/0.002752, allocations: 8.312 kB / 0.953 GB, free: 1.609 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.738e-05/0.002799, allocations: 57.62 kB / 0.953 GB, free: 1.547 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002689/0.003068, allocations: 212.5 kB / 0.9532 GB, free: 1.309 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 5.763e-05/0.003126, allocations: 52.22 kB / 0.9533 GB, free: 1.242 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.291e-05/0.003149, allocations: 30.56 kB / 0.9533 GB, free: 1.203 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 8.166e-06/0.003157, allocations: 0 / 0.9533 GB, free: 1.203 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.00318, allocations: 42.56 kB / 0.9533 GB, free: 1.152 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.003181, allocations: 0 / 0.9533 GB, free: 1.152 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.0001715/0.003353, allocations: 118.8 kB / 0.9535 GB, free: 1.012 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.00339, allocations: 81.11 kB / 0.9535 GB, free: 0.9141 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.241e-05/0.003463, allocations: 117.7 kB / 0.9537 GB, free: 0.7891 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.003473, allocations: 25.7 kB / 0.9537 GB, free: 0.7578 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.538e-05/0.003519, allocations: 107.9 kB / 0.9538 GB, free: 0.6484 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 6.192e-06/0.003525, allocations: 3.953 kB / 0.9538 GB, free: 0.6445 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.839e-05/0.003553, allocations: 21.72 kB / 0.9538 GB, free: 0.6172 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.531e-05/0.003628, allocations: 322.8 kB / 0.9541 GB, free: 300 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.397e-05/0.003652, allocations: 33.91 kB / 0.9541 GB, free: 260 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.752e-05/0.0037, allocations: 96.48 kB / 0.9542 GB, free: 132 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.383e-05/0.003784, allocations: 122.2 kB / 0.9544 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.003787, allocations: 7.938 kB / 0.9544 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001105/0.003897, allocations: 152.8 kB / 0.9545 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.105e-05/0.003928, allocations: 37.69 kB / 0.9545 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.003934, allocations: 0 / 0.9545 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.003948, allocations: 4 kB / 0.9545 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.981e-05/0.004008, allocations: 11.94 kB / 0.9546 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.832e-06/0.004015, allocations: 4 kB / 0.9546 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.401e-05/0.004069, allocations: 8.203 kB / 0.9546 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.004081, allocations: 8 kB / 0.9546 GB, free: 15.72 MB / 0.9167 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 7.03e-05/0.004151, allocations: 155.4 kB / 0.9547 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.207e-05/0.004163, allocations: 3.938 kB / 0.9547 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.467e-05/0.004178, allocations: 11.45 kB / 0.9547 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.00418, allocations: 0 / 0.9547 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.004184, allocations: 0 / 0.9547 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.004187, allocations: 0 / 0.9547 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.025e-05/0.004267, allocations: 105.3 kB / 0.9548 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.4e-07/0.004268, allocations: 0 / 0.9548 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.533e-06/0.004269, allocations: 3.938 kB / 0.9548 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.52e-07/0.00427, allocations: 4 kB / 0.9548 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-06/0.004276, allocations: 4 kB / 0.9549 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.51e-07/0.004276, allocations: 3.938 kB / 0.9549 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.004277, allocations: 0 / 0.9549 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.784e-05/0.004365, allocations: 190.9 kB / 0.955 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.785e-06/0.004372, allocations: 7.938 kB / 0.955 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.004386, allocations: 0 / 0.955 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.458e-05/0.00442, allocations: 3.984 kB / 0.955 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.295e-05/0.004433, allocations: 4 kB / 0.9551 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-06/0.004438, allocations: 4 kB / 0.9551 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.375e-05/0.004472, allocations: 95.75 kB / 0.9551 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.004472, allocations: 0 / 0.9551 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001661/0.004638, allocations: 12 kB / 0.9552 GB, free: 15.04 MB / 0.9167 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.935e-05/0.004737, allocations: 103.2 kB / 0.9553 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001148/0.004852, allocations: 138.7 kB / 0.9554 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.004853, allocations: 0 / 0.9554 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.741e-05/0.004881, allocations: 85.59 kB / 0.9555 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001369/0.005018, allocations: 14 kB / 0.9555 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001925/0.00521, allocations: 164.2 kB / 0.9556 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.445e-05/0.005255, allocations: 59.34 kB / 0.9557 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.402e-05/0.005269, allocations: 12.5 kB / 0.9557 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of SimCode: time 7.51e-07/0.005269, allocations: 0 / 0.9557 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of Templates: time 0.00145/0.006719, allocations: 0.698 MB / 0.9564 GB, free: 13.68 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.413504279218614]