Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.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.0009843/0.0009843, 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.0009671/0.0009671, 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.9944/0.9944, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.379/2.379, allocations: 438.8 MB / 0.6826 GB, free: 13.62 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.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.581e-05/2.802e-05, allocations: 8.359 kB / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.00148/0.001508, allocations: 0.7745 MB / 0.8394 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0008575/0.002366, allocations: 0.8781 MB / 0.8403 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.07e-05/0.002416, allocations: 4 kB / 0.8403 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.092e-05/0.002447, allocations: 7.875 kB / 0.8403 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.631e-05/0.002534, allocations: 15.86 kB / 0.8403 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001424/0.002676, allocations: 27.91 kB / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 8.692e-05/0.002763, allocations: 75.81 kB / 0.8404 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.084e-05/0.002854, allocations: 15.98 kB / 0.8404 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.002958, allocations: 43.89 kB / 0.8404 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.225e-05/0.00302, allocations: 27.95 kB / 0.8405 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.697e-05/0.003047, allocations: 4 kB / 0.8405 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 1.205e-05/0.003059, allocations: 8 kB / 0.8405 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.425e-05/0.003084, allocations: 19.92 kB / 0.8405 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.609e-05/0.00311, allocations: 23.91 kB / 0.8405 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 9.28e-05/0.003203, allocations: 55.73 kB / 0.8406 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.003205, allocations: 4 kB / 0.8406 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.32e-07/0.003206, allocations: 4 kB / 0.8406 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.00321, allocations: 0 / 0.8406 GB, free: 12.18 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003476/0.003557, allocations: 268.7 kB / 0.8408 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.003589, allocations: 12.03 kB / 0.8409 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.983e-05/0.003619, allocations: 4.938 kB / 0.8409 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.273e-05/0.003702, allocations: 113.7 kB / 0.841 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.00372, allocations: 4.375 kB / 0.841 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.003733, allocations: 8.375 kB / 0.841 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.003863, allocations: 86.78 kB / 0.8411 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.171e-06/0.003869, allocations: 192 / 0.8411 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.003877, allocations: 384 / 0.8411 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.003883, allocations: 384 / 0.8411 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.639e-05/0.003919, allocations: 19.92 kB / 0.8411 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002469/0.004166, allocations: 196.1 kB / 0.8413 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.152e-05/0.004247, allocations: 38.55 kB / 0.8413 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.245e-05/0.00427, allocations: 12.86 kB / 0.8413 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.004282, allocations: 4 kB / 0.8413 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.004308, allocations: 38.56 kB / 0.8414 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.004309, allocations: 0 / 0.8414 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0001301/0.004439, allocations: 61.55 kB / 0.8414 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.004468, allocations: 55.41 kB / 0.8415 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.391e-05/0.004522, allocations: 114.7 kB / 0.8416 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.004534, allocations: 33.69 kB / 0.8416 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.875e-05/0.004562, allocations: 92.08 kB / 0.8417 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.941e-05/0.004582, allocations: 15.84 kB / 0.8417 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.122e-05/0.004613, allocations: 29.69 kB / 0.8417 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.041e-05/0.004683, allocations: 318.8 kB / 0.842 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.706e-05/0.0047, allocations: 8 kB / 0.8421 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.558e-05/0.004716, allocations: 4 kB / 0.8421 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.191e-05/0.004758, allocations: 33.19 kB / 0.8421 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.00476, allocations: 0 / 0.8421 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 6.733e-05/0.004827, allocations: 57.73 kB / 0.8421 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.004839, allocations: 14.06 kB / 0.8422 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.004844, allocations: 0 / 0.8422 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.004856, allocations: 0 / 0.8422 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.887e-05/0.004934, allocations: 19.98 kB / 0.8422 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.004937, allocations: 0 / 0.8422 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.798e-05/0.004965, allocations: 7.953 kB / 0.8422 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.004971, allocations: 3.984 kB / 0.8422 GB, free: 10.38 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 (6): * Single equations (assignments): 6 * 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.467e-05/0.005026, allocations: 109.8 kB / 0.8423 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.419e-05/0.00504, allocations: 4 kB / 0.8423 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.991e-05/0.00506, allocations: 16.38 kB / 0.8423 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.005062, allocations: 0 / 0.8423 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.005063, allocations: 0 / 0.8423 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.005066, allocations: 3.984 kB / 0.8423 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.459e-05/0.005161, allocations: 85.88 kB / 0.8424 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.005162, allocations: 0 / 0.8424 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.934e-05/0.005201, allocations: 15.92 kB / 0.8424 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.005202, allocations: 0 / 0.8424 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/0.005208, allocations: 4 kB / 0.8424 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.005209, allocations: 0 / 0.8424 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.005211, allocations: 3.938 kB / 0.8424 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001247/0.005335, allocations: 151.5 kB / 0.8426 GB, free: 9.949 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.209e-05/0.005347, allocations: 3.953 kB / 0.8426 GB, free: 9.945 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.19e-05/0.005359, allocations: 4.125 kB / 0.8426 GB, free: 9.941 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.868e-05/0.005418, allocations: 12 kB / 0.8426 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.64e-05/0.005464, allocations: 19.91 kB / 0.8426 GB, free: 9.91 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.005469, allocations: 0 / 0.8426 GB, free: 9.91 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.151e-05/0.00549, allocations: 29.2 kB / 0.8426 GB, free: 9.879 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.00549, allocations: 0 / 0.8426 GB, free: 9.879 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001222/0.005612, allocations: 15.94 kB / 0.8426 GB, free: 9.863 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 (6): * Single equations (assignments): 6 * 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 9.71e-05/0.005709, allocations: 76.36 kB / 0.8427 GB, free: 9.777 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.598e-05/0.005785, allocations: 28.84 kB / 0.8427 GB, free: 9.746 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.005788, allocations: 4 kB / 0.8427 GB, free: 9.742 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.242e-05/0.00582, allocations: 28.78 kB / 0.8428 GB, free: 9.711 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001331/0.005953, allocations: 7.938 kB / 0.8428 GB, free: 9.703 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002744/0.006228, allocations: 168.2 kB / 0.8429 GB, free: 9.512 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.233e-05/0.00626, allocations: 59.36 kB / 0.843 GB, free: 9.434 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.282e-05/0.006293, allocations: 11.98 kB / 0.843 GB, free: 9.422 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.116e-05/0.006354, allocations: 59.38 kB / 0.8431 GB, free: 9.363 MB / 0.8073 GB Notification: Performance of SimCode: time 5.91e-07/0.006354, allocations: 0 / 0.8431 GB, free: 9.363 MB / 0.8073 GB Notification: Performance of Templates: time 0.002733/0.009087, allocations: 1.393 MB / 0.8444 GB, free: 7.988 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Round.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.245467744767666]