Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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.0009733/0.0009733, 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.0009893/0.0009893, allocations: 177.4 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 0.9685/0.9685, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.497/2.497, allocations: 438.8 MB / 0.6827 GB, free: 13.57 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.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 0.8387 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.07e-05/2.296e-05, allocations: 8.422 kB / 0.8387 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.001385/0.001408, allocations: 0.7634 MB / 0.8394 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0008312/0.002239, allocations: 0.847 MB / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.344e-05/0.002273, allocations: 0 / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.436e-05/0.002297, allocations: 7.875 kB / 0.8403 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.448e-05/0.002361, allocations: 0 / 0.8403 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 8.933e-05/0.002451, allocations: 19.92 kB / 0.8403 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.775e-05/0.002518, allocations: 47.84 kB / 0.8403 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.416e-05/0.002593, allocations: 11.98 kB / 0.8404 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 8.266e-05/0.002675, allocations: 27.91 kB / 0.8404 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.001e-05/0.002715, allocations: 11.98 kB / 0.8404 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.002732, allocations: 4 kB / 0.8404 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 8.686e-06/0.00274, allocations: 4 kB / 0.8404 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.632e-05/0.002757, allocations: 7.938 kB / 0.8404 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.774e-05/0.002774, allocations: 11.98 kB / 0.8404 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 7.444e-05/0.002849, allocations: 31.89 kB / 0.8405 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.002851, allocations: 0 / 0.8405 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.11e-07/0.002851, allocations: 3.938 kB / 0.8405 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.036e-06/0.002854, allocations: 4 kB / 0.8405 GB, free: 12.23 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.0002671/0.003121, allocations: 252.9 kB / 0.8407 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.954e-05/0.003151, allocations: 8.625 kB / 0.8407 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.296e-05/0.003174, allocations: 4.938 kB / 0.8407 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.937e-05/0.003253, allocations: 117.7 kB / 0.8408 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.003262, allocations: 4.375 kB / 0.8408 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.404e-06/0.00327, allocations: 4.375 kB / 0.8408 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.003376, allocations: 62.88 kB / 0.8409 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.003384, allocations: 192 / 0.8409 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.667e-06/0.003392, allocations: 8.375 kB / 0.8409 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.003401, allocations: 384 / 0.8409 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.014e-05/0.003421, allocations: 11.94 kB / 0.8409 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001914/0.003613, allocations: 152.3 kB / 0.8411 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.075e-05/0.003663, allocations: 30.58 kB / 0.8411 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.393e-05/0.003677, allocations: 4.953 kB / 0.8411 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.003692, allocations: 7.984 kB / 0.8411 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.801e-05/0.00371, allocations: 34.55 kB / 0.8411 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 7.21e-07/0.003711, allocations: 0 / 0.8411 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001036/0.003814, allocations: 45.62 kB / 0.8412 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.00384, allocations: 59.34 kB / 0.8412 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.155e-05/0.003891, allocations: 110.9 kB / 0.8413 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.003907, allocations: 29.7 kB / 0.8414 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.484e-05/0.003932, allocations: 84.14 kB / 0.8414 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.824e-05/0.00395, allocations: 11.89 kB / 0.8415 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.304e-05/0.003973, allocations: 13.72 kB / 0.8415 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.827e-05/0.004041, allocations: 318.8 kB / 0.8418 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.978e-06/0.004051, allocations: 4 kB / 0.8418 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.013e-05/0.004061, allocations: 4 kB / 0.8418 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.569e-05/0.004087, allocations: 16.83 kB / 0.8418 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.004089, allocations: 4 kB / 0.8418 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.984e-05/0.004138, allocations: 41.69 kB / 0.8418 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.00415, allocations: 10.44 kB / 0.8419 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.004154, allocations: 0 / 0.8419 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.004166, allocations: 3.938 kB / 0.8419 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.53e-05/0.004232, allocations: 19.92 kB / 0.8419 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.004236, allocations: 4.062 kB / 0.8419 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.119e-05/0.004257, allocations: 4 kB / 0.8419 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.004262, allocations: 0 / 0.8419 GB, free: 10.62 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.244e-05/0.004314, allocations: 109.8 kB / 0.842 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.693e-05/0.004331, allocations: 7.984 kB / 0.842 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.096e-05/0.004402, allocations: 49.62 kB / 0.842 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.004404, allocations: 7.938 kB / 0.8421 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.004406, allocations: 0 / 0.8421 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.004408, allocations: 0 / 0.8421 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.88e-05/0.004487, allocations: 69.89 kB / 0.8421 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.004488, allocations: 0 / 0.8421 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.136e-05/0.004519, allocations: 15.92 kB / 0.8421 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.00452, allocations: 0 / 0.8421 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.588e-06/0.004525, allocations: 0 / 0.8421 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.004526, allocations: 4 kB / 0.8421 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.004526, allocations: 0 / 0.8421 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.107e-05/0.004598, allocations: 143.5 kB / 0.8423 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.652e-06/0.004604, allocations: 7.953 kB / 0.8423 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.997e-06/0.004613, allocations: 3.984 kB / 0.8423 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.577e-05/0.004649, allocations: 4 kB / 0.8423 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.73e-05/0.004676, allocations: 4.406 kB / 0.8423 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.00468, allocations: 3.938 kB / 0.8423 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001444/0.004824, allocations: 12.86 kB / 0.8423 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.004824, allocations: 0 / 0.8423 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001157/0.00494, allocations: 8 kB / 0.8423 GB, free: 10.12 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.963e-05/0.00501, allocations: 88.34 kB / 0.8424 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.599e-05/0.005065, allocations: 16.84 kB / 0.8424 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.005068, allocations: 0 / 0.8424 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.65e-05/0.005084, allocations: 8.859 kB / 0.8424 GB, free: 10 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001417/0.005226, allocations: 19.98 kB / 0.8424 GB, free: 9.98 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002089/0.005435, allocations: 120.5 kB / 0.8426 GB, free: 9.836 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.087e-05/0.005466, allocations: 71.22 kB / 0.8426 GB, free: 9.746 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.737e-05/0.005483, allocations: 0 / 0.8426 GB, free: 9.746 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.646e-05/0.00553, allocations: 55.38 kB / 0.8427 GB, free: 9.691 MB / 0.8073 GB Notification: Performance of SimCode: time 4.31e-07/0.00553, allocations: 3.938 kB / 0.8427 GB, free: 9.688 MB / 0.8073 GB Notification: Performance of Templates: time 0.002022/0.007552, allocations: 0.6861 MB / 0.8434 GB, free: 9.012 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Max.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.3329986981116235]