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.0009275/0.0009275, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0009827/0.0009827, allocations: 165 kB / 24.17 MB, free: 328 kB / 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.9533/0.9533, allocations: 177.1 MB / 204.6 MB, free: 5.504 MB / 186.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.928/1.928, allocations: 377.9 MB / 0.624 GB, free: 8.348 MB / 0.5886 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.412e-06/1.412e-06, allocations: 0 / 0.7601 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.182e-05/1.323e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001005/0.001018, allocations: 0.6239 MB / 0.7607 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001825/0.001201, allocations: 38.14 kB / 0.7607 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.709e-05/0.001218, allocations: 0 / 0.7607 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.904e-05/0.001247, allocations: 3.938 kB / 0.7607 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.296e-05/0.00128, allocations: 0 / 0.7607 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001778/0.001458, allocations: 17.2 kB / 0.7607 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.264e-05/0.00151, allocations: 1.875 kB / 0.7607 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.222e-05/0.001542, allocations: 4 kB / 0.7607 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.141e-05/0.001574, allocations: 3.984 kB / 0.7607 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.741e-05/0.001611, allocations: 2.297 kB / 0.7607 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.001623, allocations: 4 kB / 0.7607 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.232e-05/0.001696, allocations: 19.97 kB / 0.7608 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.452e-05/0.00172, allocations: 5.5 kB / 0.7608 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.579e-05/0.001736, allocations: 5.781 kB / 0.7608 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 7.277e-05/0.001809, allocations: 21.5 kB / 0.7608 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.253e-06/0.00181, allocations: 1.75 kB / 0.7608 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.11e-07/0.00181, allocations: 4 kB / 0.7608 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.615e-06/0.001813, allocations: 0 / 0.7608 GB, free: 5.852 MB / 0.7136 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.000201/0.002014, allocations: 250.3 kB / 0.761 GB, free: 5.574 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.632e-05/0.00204, allocations: 8.031 kB / 0.761 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.27e-05/0.002063, allocations: 9.469 kB / 0.7611 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.782e-05/0.002111, allocations: 102.8 kB / 0.7611 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.178e-06/0.00212, allocations: 4.359 kB / 0.7612 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.316e-06/0.002128, allocations: 4.375 kB / 0.7612 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.884e-05/0.002207, allocations: 71.34 kB / 0.7612 GB, free: 5.344 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.982e-06/0.002213, allocations: 1.344 kB / 0.7612 GB, free: 5.344 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.483e-06/0.00222, allocations: 5.125 kB / 0.7612 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.093e-05/0.002241, allocations: 8.359 kB / 0.7612 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.672e-05/0.002267, allocations: 45.58 kB / 0.7613 GB, free: 5.281 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001679/0.002435, allocations: 171.1 kB / 0.7614 GB, free: 5.098 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.435e-05/0.00247, allocations: 44.27 kB / 0.7615 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.489e-05/0.002484, allocations: 35.88 kB / 0.7615 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-06/0.002487, allocations: 0 / 0.7615 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.002506, allocations: 39.05 kB / 0.7616 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 5.82e-07/0.002506, allocations: 1.031 kB / 0.7616 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001102/0.002616, allocations: 118.7 kB / 0.7617 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.002648, allocations: 81.67 kB / 0.7618 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.279e-05/0.002701, allocations: 116.5 kB / 0.7619 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.176e-06/0.002709, allocations: 26.25 kB / 0.7619 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.649e-05/0.002746, allocations: 103.9 kB / 0.762 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.731e-06/0.002752, allocations: 7.984 kB / 0.762 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.35e-05/0.002775, allocations: 21.67 kB / 0.762 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.553e-05/0.002841, allocations: 312.1 kB / 0.7623 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.69e-05/0.002858, allocations: 42.55 kB / 0.7624 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.866e-05/0.002896, allocations: 76.58 kB / 0.7624 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.243e-05/0.002959, allocations: 128.1 kB / 0.7625 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.00296, allocations: 0 / 0.7625 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.56e-05/0.003036, allocations: 135 kB / 0.7627 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.003057, allocations: 33.69 kB / 0.7627 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.003061, allocations: 4.938 kB / 0.7627 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-06/0.003071, allocations: 0 / 0.7627 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.263e-05/0.003113, allocations: 13.8 kB / 0.7627 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.003117, allocations: 7.938 kB / 0.7627 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.679e-05/0.003154, allocations: 8 kB / 0.7627 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.003163, allocations: 6.75 kB / 0.7627 GB, free: 3.566 MB / 0.7136 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 5.796e-05/0.003221, allocations: 146.3 kB / 0.7629 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.217e-05/0.003233, allocations: 3.938 kB / 0.7629 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.929e-06/0.003243, allocations: 7.469 kB / 0.7629 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.003244, allocations: 0.875 kB / 0.7629 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-06/0.003245, allocations: 0 / 0.7629 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-06/0.003248, allocations: 0 / 0.7629 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.737e-05/0.003315, allocations: 80.52 kB / 0.763 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.003316, allocations: 0 / 0.763 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.81e-07/0.003317, allocations: 0 / 0.763 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.12e-07/0.003317, allocations: 0 / 0.763 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.178e-06/0.003321, allocations: 4 kB / 0.763 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.003323, allocations: 4.594 kB / 0.763 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.003324, allocations: 3.938 kB / 0.763 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.902e-05/0.003393, allocations: 180.1 kB / 0.7632 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.591e-06/0.003398, allocations: 7.953 kB / 0.7632 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.262e-06/0.003404, allocations: 0 / 0.7632 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.573e-05/0.00343, allocations: 6.094 kB / 0.7632 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.074e-06/0.003437, allocations: 4.984 kB / 0.7632 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.003439, allocations: 0 / 0.7632 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.144e-05/0.003451, allocations: 17.3 kB / 0.7632 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.003451, allocations: 0 / 0.7632 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001335/0.003584, allocations: 12.53 kB / 0.7632 GB, free: 3.035 MB / 0.7136 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.0001091/0.003694, allocations: 89.28 kB / 0.7633 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.592e-05/0.003789, allocations: 141.8 kB / 0.7634 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.003793, allocations: 4 kB / 0.7634 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.242e-05/0.003825, allocations: 86.73 kB / 0.7635 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.094e-05/0.003916, allocations: 6.438 kB / 0.7635 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001922/0.004108, allocations: 137.3 kB / 0.7637 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.232e-05/0.004141, allocations: 59.34 kB / 0.7637 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.112e-05/0.004162, allocations: 1.938 kB / 0.7637 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.976e-05/0.004202, allocations: 55.38 kB / 0.7638 GB, free: 2.363 MB / 0.7136 GB Notification: Performance of SimCode: time 2.91e-07/0.004202, allocations: 0 / 0.7638 GB, free: 2.363 MB / 0.7136 GB Notification: Performance of Templates: time 0.001794/0.005996, allocations: 0.5997 MB / 0.7643 GB, free: 1.793 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 -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","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.003559893928468]