Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.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.0009476/0.0009476, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001012/0.001012, allocations: 181 kB / 23.36 MB, free: 1.133 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.9932/0.9932, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.55/2.55, allocations: 438.8 MB / 0.6827 GB, free: 13.53 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.Controls.OBC.CDL.Reals.Validation.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.8387 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.594e-05/1.748e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.001343/0.00136, allocations: 0.7616 MB / 0.8394 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.000922/0.002282, allocations: 0.843 MB / 0.8403 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.683e-05/0.002329, allocations: 4 kB / 0.8403 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.77e-05/0.002357, allocations: 3.938 kB / 0.8403 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.776e-05/0.002424, allocations: 7.938 kB / 0.8403 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 5.71e-05/0.002482, allocations: 11.98 kB / 0.8403 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 7.274e-05/0.002554, allocations: 47.84 kB / 0.8403 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 8.211e-05/0.002636, allocations: 4 kB / 0.8403 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 7.995e-05/0.002716, allocations: 23.92 kB / 0.8404 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.937e-05/0.002756, allocations: 23.91 kB / 0.8404 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.002772, allocations: 4 kB / 0.8404 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 6.742e-06/0.002779, allocations: 4 kB / 0.8404 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.7e-05/0.002796, allocations: 11.98 kB / 0.8404 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.219e-05/0.002818, allocations: 15.92 kB / 0.8404 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 6.918e-05/0.002887, allocations: 27.91 kB / 0.8405 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.513e-06/0.002889, allocations: 0 / 0.8405 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.41e-07/0.002889, allocations: 0 / 0.8405 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.236e-06/0.002893, allocations: 0 / 0.8405 GB, free: 12.21 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003023/0.003195, allocations: 252.9 kB / 0.8407 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.003229, allocations: 8.625 kB / 0.8407 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.824e-05/0.003257, allocations: 8.938 kB / 0.8407 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.329e-05/0.00334, allocations: 113.7 kB / 0.8408 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.00335, allocations: 4.375 kB / 0.8408 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.692e-06/0.003356, allocations: 384 / 0.8408 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.003465, allocations: 70.88 kB / 0.8409 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.003472, allocations: 192 / 0.8409 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.00348, allocations: 384 / 0.8409 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.003485, allocations: 384 / 0.8409 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.251e-05/0.003508, allocations: 11.88 kB / 0.8409 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002166/0.003724, allocations: 160.2 kB / 0.8411 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.971e-05/0.003774, allocations: 22.52 kB / 0.8411 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.704e-05/0.003791, allocations: 8.953 kB / 0.8411 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.596e-06/0.0038, allocations: 7.984 kB / 0.8411 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.00382, allocations: 34.56 kB / 0.8411 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 7.11e-07/0.00382, allocations: 0 / 0.8411 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001055/0.003926, allocations: 41.62 kB / 0.8412 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.003953, allocations: 55.47 kB / 0.8412 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.667e-05/0.004009, allocations: 118.7 kB / 0.8413 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.004019, allocations: 25.7 kB / 0.8414 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.01e-05/0.004049, allocations: 88.12 kB / 0.8414 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/0.004067, allocations: 11.84 kB / 0.8415 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.292e-05/0.00409, allocations: 13.72 kB / 0.8415 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.158e-05/0.004172, allocations: 322.8 kB / 0.8418 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.13e-05/0.004183, allocations: 4 kB / 0.8418 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.161e-05/0.004194, allocations: 4 kB / 0.8418 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.535e-05/0.00422, allocations: 17.12 kB / 0.8418 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.004222, allocations: 4 kB / 0.8418 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.939e-05/0.004272, allocations: 41.67 kB / 0.8418 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.004284, allocations: 4 kB / 0.8418 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.004289, allocations: 4 kB / 0.8418 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.004303, allocations: 3.938 kB / 0.8419 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.325e-05/0.004376, allocations: 11.94 kB / 0.8419 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.456e-06/0.004379, allocations: 4 kB / 0.8419 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.327e-05/0.004403, allocations: 11.98 kB / 0.8419 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.004409, allocations: 0 / 0.8419 GB, free: 10.59 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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.406e-05/0.004463, allocations: 109.8 kB / 0.842 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.548e-05/0.004478, allocations: 0 / 0.842 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.415e-05/0.004502, allocations: 11.98 kB / 0.842 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.004506, allocations: 7.938 kB / 0.842 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.004508, allocations: 0 / 0.842 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.004512, allocations: 0 / 0.842 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.917e-05/0.004601, allocations: 69.89 kB / 0.8421 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.004603, allocations: 7.984 kB / 0.8421 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.05e-05/0.004633, allocations: 11.94 kB / 0.8421 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.004635, allocations: 0 / 0.8421 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.728e-06/0.004639, allocations: 0 / 0.8421 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.00464, allocations: 0 / 0.8421 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.00464, allocations: 0 / 0.8421 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.605e-05/0.004736, allocations: 147.4 kB / 0.8422 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.773e-06/0.004743, allocations: 0 / 0.8422 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.004755, allocations: 4 kB / 0.8422 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.623e-05/0.004791, allocations: 4 kB / 0.8422 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.403e-05/0.004825, allocations: 3.984 kB / 0.8422 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.004828, allocations: 7.938 kB / 0.8422 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.275e-05/0.004841, allocations: 16.86 kB / 0.8423 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.004841, allocations: 0 / 0.8423 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001209/0.004962, allocations: 11.89 kB / 0.8423 GB, free: 10.14 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 6.723e-05/0.005029, allocations: 80.41 kB / 0.8424 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.344e-05/0.005092, allocations: 12.86 kB / 0.8424 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.005095, allocations: 0 / 0.8424 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.746e-05/0.005113, allocations: 12.8 kB / 0.8424 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001454/0.005258, allocations: 19.98 kB / 0.8424 GB, free: 10 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000233/0.005491, allocations: 124.5 kB / 0.8425 GB, free: 9.852 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.297e-05/0.005524, allocations: 63.28 kB / 0.8426 GB, free: 9.77 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.971e-05/0.005544, allocations: 0 / 0.8426 GB, free: 9.77 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.881e-05/0.005593, allocations: 51.38 kB / 0.8426 GB, free: 9.719 MB / 0.8073 GB Notification: Performance of SimCode: time 4.71e-07/0.005593, allocations: 0 / 0.8426 GB, free: 9.719 MB / 0.8073 GB Notification: Performance of Templates: time 0.002077/0.00767, allocations: 0.6985 MB / 0.8433 GB, free: 9.031 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Average.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.224676734767854]