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.001837/0.001837, allocations: 88.39 kB / 20.23 MB, free: 4.176 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.002228/0.002228, allocations: 165.3 kB / 23.55 MB, free: 0.8633 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 1.471/1.471, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.838/2.838, allocations: 377.8 MB / 0.6232 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.944e-06/1.944e-06, allocations: 0.7656 kB / 0.8109 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.727e-05/2.922e-05, allocations: 6.219 kB / 0.8109 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001767/0.001797, allocations: 0.6032 MB / 0.8115 GB, free: 1.484 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002267/0.002023, allocations: 35.89 kB / 0.8115 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.816e-05/0.002042, allocations: 0.875 kB / 0.8115 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.666e-05/0.002078, allocations: 0 / 0.8115 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 3.626e-05/0.002114, allocations: 4.766 kB / 0.8115 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002043/0.002319, allocations: 13.67 kB / 0.8115 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.952e-05/0.002398, allocations: 4 kB / 0.8115 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.036e-05/0.002429, allocations: 0 / 0.8115 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 2.866e-05/0.002457, allocations: 7.938 kB / 0.8115 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.977e-05/0.002497, allocations: 0 / 0.8115 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.002511, allocations: 1.531 kB / 0.8115 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 9.272e-05/0.002604, allocations: 35.89 kB / 0.8116 GB, free: 1.387 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 3.034e-05/0.002634, allocations: 3.938 kB / 0.8116 GB, free: 1.383 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.89e-05/0.002663, allocations: 4 kB / 0.8116 GB, free: 1.379 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.002767, allocations: 20.47 kB / 0.8116 GB, free: 1.359 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.00277, allocations: 0.8438 kB / 0.8116 GB, free: 1.359 MB / 0.7605 GB Notification: Performance of FrontEnd: time 7.81e-07/0.00277, allocations: 0 / 0.8116 GB, free: 1.359 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.496e-06/0.002774, allocations: 0 / 0.8116 GB, free: 1.359 MB / 0.7605 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.000381/0.003155, allocations: 280.7 kB / 0.8119 GB, free: 1.047 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.00319, allocations: 9.625 kB / 0.8119 GB, free: 1.039 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.176e-05/0.003242, allocations: 4.938 kB / 0.8119 GB, free: 1.035 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.003362, allocations: 105.8 kB / 0.812 GB, free: 0.9062 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.003376, allocations: 384 / 0.812 GB, free: 0.9062 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.003387, allocations: 4.375 kB / 0.812 GB, free: 0.9023 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.003553, allocations: 86.45 kB / 0.8121 GB, free: 0.8086 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.003562, allocations: 192 / 0.8121 GB, free: 0.8086 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.00357, allocations: 4.312 kB / 0.8121 GB, free: 0.8047 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.7e-05/0.003597, allocations: 8.359 kB / 0.8121 GB, free: 0.7969 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.849e-05/0.003675, allocations: 57.62 kB / 0.8121 GB, free: 0.7344 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006098/0.004285, allocations: 208.5 kB / 0.8123 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 7.659e-05/0.004362, allocations: 48.75 kB / 0.8124 GB, free: 448 kB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.969e-05/0.004401, allocations: 34.5 kB / 0.8124 GB, free: 404 kB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.00441, allocations: 0.7188 kB / 0.8124 GB, free: 404 kB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/0.004448, allocations: 39.16 kB / 0.8124 GB, free: 356 kB / 0.7605 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.004449, allocations: 0 / 0.8124 GB, free: 356 kB / 0.7605 GB Notification: Performance of matching and sorting (n=1): time 0.0002371/0.004686, allocations: 124.4 kB / 0.8126 GB, free: 208 kB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.173e-05/0.004748, allocations: 77.11 kB / 0.8126 GB, free: 112 kB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.004884, allocations: 117.8 kB / 0.8127 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.004903, allocations: 26.3 kB / 0.8128 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.023e-05/0.004973, allocations: 103.9 kB / 0.8129 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.467e-05/0.004988, allocations: 16.59 kB / 0.8129 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.635e-05/0.005034, allocations: 17.72 kB / 0.8129 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001878/0.005222, allocations: 323.5 kB / 0.8132 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.774e-05/0.005269, allocations: 33.7 kB / 0.8132 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.692e-05/0.005366, allocations: 89.69 kB / 0.8133 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.005513, allocations: 129.3 kB / 0.8134 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.005515, allocations: 0 / 0.8134 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002152/0.00573, allocations: 162.5 kB / 0.8136 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.764e-05/0.005767, allocations: 29.7 kB / 0.8136 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.005775, allocations: 5.156 kB / 0.8136 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.005794, allocations: 0 / 0.8136 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.719e-05/0.005862, allocations: 12 kB / 0.8136 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.00587, allocations: 4.844 kB / 0.8137 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.047e-05/0.005941, allocations: 8 kB / 0.8137 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.005956, allocations: 6.219 kB / 0.8137 GB, free: 14.93 MB / 0.7761 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 0.0001215/0.006077, allocations: 147.5 kB / 0.8138 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.517e-05/0.006123, allocations: 7.891 kB / 0.8138 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.672e-05/0.006139, allocations: 11.47 kB / 0.8138 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.006143, allocations: 4 kB / 0.8138 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.006147, allocations: 2.844 kB / 0.8138 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-06/0.006149, allocations: 0 / 0.8138 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001382/0.006287, allocations: 101.3 kB / 0.8139 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.006288, allocations: 3.938 kB / 0.8139 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.549e-06/0.006292, allocations: 3.938 kB / 0.8139 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.006296, allocations: 4 kB / 0.8139 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.006302, allocations: 0 / 0.8139 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.006303, allocations: 0 / 0.8139 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.006304, allocations: 1.531 kB / 0.8139 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000176/0.00648, allocations: 191 kB / 0.8141 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.208e-05/0.006492, allocations: 7.922 kB / 0.8141 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.006508, allocations: 7.922 kB / 0.8141 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.05e-05/0.006568, allocations: 4.625 kB / 0.8141 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.717e-05/0.006585, allocations: 0.5625 kB / 0.8141 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.006591, allocations: 0 / 0.8141 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.485e-05/0.006655, allocations: 91.83 kB / 0.8142 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.006655, allocations: 0.5625 kB / 0.8142 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002486/0.006904, allocations: 15.94 kB / 0.8142 GB, free: 14.27 MB / 0.7761 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.0001974/0.007102, allocations: 100.6 kB / 0.8143 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001949/0.007296, allocations: 140.1 kB / 0.8145 GB, free: 14 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.007299, allocations: 0 / 0.8145 GB, free: 14 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.597e-05/0.007365, allocations: 88.88 kB / 0.8146 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.007578, allocations: 4 kB / 0.8146 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002987/0.007877, allocations: 142.2 kB / 0.8147 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.304e-05/0.00796, allocations: 67.28 kB / 0.8148 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.272e-05/0.008043, allocations: 7.984 kB / 0.8148 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.314e-05/0.008066, allocations: 12.5 kB / 0.8148 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of SimCode: time 5.11e-07/0.008066, allocations: 1.406 kB / 0.8148 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of Templates: time 0.0032/0.01127, allocations: 0.5679 MB / 0.8153 GB, free: 13.07 MB / 0.7761 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.587347502936609]