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.001224/0.001224, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001068/0.001068, allocations: 177 kB / 23.36 MB, free: 1.129 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.046/1.046, allocations: 177.1 MB / 203.8 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.482/2.482, allocations: 438.8 MB / 0.6827 GB, free: 13.59 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.473e-06/1.473e-06, allocations: 0 / 0.8387 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.957e-05/2.104e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001322/0.001343, allocations: 0.658 MB / 0.8393 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0002008/0.001544, allocations: 31.89 kB / 0.8394 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.927e-05/0.001563, allocations: 0 / 0.8394 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.798e-05/0.001591, allocations: 8 kB / 0.8394 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 3.561e-05/0.001627, allocations: 0 / 0.8394 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001804/0.001807, allocations: 11.98 kB / 0.8394 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.966e-05/0.001877, allocations: 0 / 0.8394 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.739e-05/0.001914, allocations: 4 kB / 0.8394 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.519e-05/0.00195, allocations: 3.984 kB / 0.8394 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.339e-05/0.001993, allocations: 7.938 kB / 0.8394 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.002006, allocations: 0 / 0.8394 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 9.709e-05/0.002103, allocations: 23.97 kB / 0.8394 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.487e-05/0.002128, allocations: 4 kB / 0.8394 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.639e-05/0.002144, allocations: 7.984 kB / 0.8394 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 8.461e-05/0.002229, allocations: 23.92 kB / 0.8394 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.442e-06/0.00223, allocations: 0 / 0.8394 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.02e-07/0.002231, allocations: 0 / 0.8394 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.136e-06/0.002234, allocations: 3.938 kB / 0.8395 GB, free: 13.32 MB / 0.8073 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.0002034/0.002438, allocations: 254.6 kB / 0.8397 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.002471, allocations: 12.62 kB / 0.8397 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.203e-05/0.002493, allocations: 0.9375 kB / 0.8397 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.132e-05/0.002544, allocations: 109.8 kB / 0.8398 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.055e-06/0.002552, allocations: 384 / 0.8398 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.31e-06/0.002557, allocations: 4.375 kB / 0.8398 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.343e-05/0.002641, allocations: 66.8 kB / 0.8399 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.33e-06/0.002646, allocations: 192 / 0.8399 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.002654, allocations: 4.375 kB / 0.8399 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.486e-05/0.002679, allocations: 12.3 kB / 0.8399 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.593e-05/0.002704, allocations: 41.62 kB / 0.8399 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000185/0.002889, allocations: 173.9 kB / 0.8401 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.697e-05/0.002926, allocations: 56.27 kB / 0.8402 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.491e-05/0.002941, allocations: 30.56 kB / 0.8402 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-06/0.002944, allocations: 0 / 0.8402 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.889e-05/0.002963, allocations: 38.56 kB / 0.8402 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.002963, allocations: 7.938 kB / 0.8402 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1): time 0.0001057/0.003069, allocations: 114.8 kB / 0.8403 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.003099, allocations: 77.11 kB / 0.8404 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.457e-05/0.003154, allocations: 114.7 kB / 0.8405 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.003164, allocations: 29.7 kB / 0.8405 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.963e-05/0.003204, allocations: 107.9 kB / 0.8407 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.26e-06/0.003209, allocations: 7.984 kB / 0.8407 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.6e-05/0.003235, allocations: 17.72 kB / 0.8407 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.902e-05/0.003304, allocations: 314.8 kB / 0.841 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.534e-05/0.003319, allocations: 33.81 kB / 0.841 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.677e-05/0.003356, allocations: 84.5 kB / 0.8411 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.925e-05/0.003425, allocations: 125 kB / 0.8412 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.003428, allocations: 0 / 0.8412 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.617e-05/0.003514, allocations: 132.8 kB / 0.8413 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.003539, allocations: 37.69 kB / 0.8414 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.003544, allocations: 0 / 0.8414 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.478e-06/0.003554, allocations: 4 kB / 0.8414 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.649e-05/0.0036, allocations: 15.94 kB / 0.8414 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-06/0.003603, allocations: 7.938 kB / 0.8414 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.851e-05/0.003642, allocations: 7.953 kB / 0.8414 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.003653, allocations: 4.25 kB / 0.8414 GB, free: 11.01 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.064e-05/0.003714, allocations: 150.3 kB / 0.8416 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.822e-05/0.003732, allocations: 7.938 kB / 0.8416 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.084e-05/0.003743, allocations: 7.469 kB / 0.8416 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.003744, allocations: 0 / 0.8416 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.003746, allocations: 7.938 kB / 0.8416 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.003749, allocations: 0 / 0.8416 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.952e-05/0.003819, allocations: 69.89 kB / 0.8416 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.003819, allocations: 0 / 0.8416 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.00382, allocations: 0 / 0.8416 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.003822, allocations: 4 kB / 0.8416 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.477e-06/0.003825, allocations: 4 kB / 0.8416 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.003828, allocations: 3.938 kB / 0.8417 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.003829, allocations: 0 / 0.8417 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.169e-05/0.00391, allocations: 183 kB / 0.8418 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.701e-06/0.003916, allocations: 0 / 0.8418 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.985e-06/0.003924, allocations: 4 kB / 0.8418 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.874e-05/0.003963, allocations: 3.938 kB / 0.8418 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.094e-05/0.003974, allocations: 3.984 kB / 0.8418 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.003978, allocations: 4 kB / 0.8418 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.313e-05/0.003991, allocations: 12.84 kB / 0.8419 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.1e-08/0.003991, allocations: 4.031 kB / 0.8419 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001371/0.004128, allocations: 12 kB / 0.8419 GB, free: 10.47 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.0001015/0.004229, allocations: 92.34 kB / 0.842 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.84e-05/0.004328, allocations: 131.6 kB / 0.8421 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.004332, allocations: 0 / 0.8421 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.33e-05/0.004365, allocations: 85.97 kB / 0.8422 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.004619, allocations: 14.56 kB / 0.8422 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001705/0.00479, allocations: 133.3 kB / 0.8423 GB, free: 9.938 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.86e-05/0.004818, allocations: 59.34 kB / 0.8424 GB, free: 9.859 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.854e-05/0.004837, allocations: 0 / 0.8424 GB, free: 9.859 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.319e-05/0.00488, allocations: 55.38 kB / 0.8424 GB, free: 9.805 MB / 0.8073 GB Notification: Performance of SimCode: time 5.41e-07/0.00488, allocations: 0 / 0.8424 GB, free: 9.805 MB / 0.8073 GB Notification: Performance of Templates: time 0.001919/0.0068, allocations: 0.6197 MB / 0.843 GB, free: 9.199 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 -s gbode -gbm=radauIIA3 -emit_protected -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","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.284973538015038]