Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001009/0.001009, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.0009337/0.0009337, allocations: 169 kB / 23.82 MB, free: 0.7461 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.9623/0.9623, allocations: 177.1 MB / 204.2 MB, free: 5.301 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.886/1.886, allocations: 359 MB / 0.6052 GB, free: 11.04 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.755e-06/2.755e-06, allocations: 0 / 0.7872 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.083e-05/3.358e-05, allocations: 2.312 kB / 0.7872 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.001459/0.001492, allocations: 0.7697 MB / 0.7879 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008829/0.002375, allocations: 0.8801 MB / 0.7888 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.535e-05/0.002421, allocations: 7.938 kB / 0.7888 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.358e-05/0.002454, allocations: 3.938 kB / 0.7888 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.583e-05/0.00254, allocations: 13.06 kB / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001692/0.002709, allocations: 31.89 kB / 0.7888 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.718e-05/0.002796, allocations: 67.83 kB / 0.7889 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.002915, allocations: 21.23 kB / 0.7889 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.672e-05/0.003012, allocations: 39.89 kB / 0.789 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.177e-05/0.003074, allocations: 31.91 kB / 0.789 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.14e-05/0.003105, allocations: 9.25 kB / 0.789 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.053e-05/0.003116, allocations: 7.938 kB / 0.789 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.303e-05/0.003139, allocations: 19.97 kB / 0.789 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.242e-05/0.003171, allocations: 19.92 kB / 0.789 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001082/0.00328, allocations: 53.42 kB / 0.7891 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.003282, allocations: 4 kB / 0.7891 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.52e-07/0.003283, allocations: 0 / 0.7891 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.003288, allocations: 0 / 0.7891 GB, free: 10.46 MB / 0.7448 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.0004014/0.00369, allocations: 389.4 kB / 0.7895 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.003729, allocations: 12.03 kB / 0.7895 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.154e-05/0.00377, allocations: 13.95 kB / 0.7895 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.719e-05/0.003867, allocations: 124.4 kB / 0.7896 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.00389, allocations: 8.312 kB / 0.7896 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/0.003905, allocations: 9.969 kB / 0.7896 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.004056, allocations: 74.86 kB / 0.7897 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.505e-06/0.004063, allocations: 192 / 0.7897 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.004076, allocations: 13.84 kB / 0.7897 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.004084, allocations: 384 / 0.7897 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.828e-05/0.004142, allocations: 23.91 kB / 0.7897 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000348/0.00449, allocations: 314.3 kB / 0.79 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.004599, allocations: 55.05 kB / 0.7901 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.854e-05/0.004638, allocations: 23.77 kB / 0.7901 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.004657, allocations: 3.938 kB / 0.7901 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.004679, allocations: 37.39 kB / 0.7902 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/0.00468, allocations: 0 / 0.7902 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0001951/0.004875, allocations: 78.28 kB / 0.7902 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.004906, allocations: 53.06 kB / 0.7903 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.249e-05/0.004989, allocations: 181.9 kB / 0.7905 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.005, allocations: 25.81 kB / 0.7905 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.198e-05/0.005052, allocations: 146.8 kB / 0.7906 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.005074, allocations: 17.58 kB / 0.7906 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-05/0.005108, allocations: 27.38 kB / 0.7907 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.005214, allocations: 0.4884 MB / 0.7911 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.788e-05/0.005242, allocations: 8 kB / 0.7911 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.593e-05/0.005268, allocations: 11.98 kB / 0.7912 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.81e-05/0.005326, allocations: 32.81 kB / 0.7912 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.005328, allocations: 0 / 0.7912 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.931e-05/0.005427, allocations: 75.31 kB / 0.7913 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.005439, allocations: 4 kB / 0.7913 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.005444, allocations: 0 / 0.7913 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.005458, allocations: 0 / 0.7913 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.099e-05/0.005549, allocations: 17.86 kB / 0.7913 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.005555, allocations: 448 / 0.7913 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.212e-05/0.005587, allocations: 11.95 kB / 0.7913 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.005593, allocations: 0 / 0.7913 GB, free: 8.016 MB / 0.7448 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.956e-05/0.005653, allocations: 152.6 kB / 0.7914 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.065e-05/0.005673, allocations: 12.59 kB / 0.7914 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.588e-05/0.005699, allocations: 20.42 kB / 0.7915 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.005701, allocations: 0.5312 kB / 0.7915 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.005705, allocations: 0.7188 kB / 0.7915 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.005707, allocations: 0 / 0.7915 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.005827, allocations: 145.1 kB / 0.7916 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.005828, allocations: 1.344 kB / 0.7916 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.308e-05/0.005871, allocations: 11.98 kB / 0.7916 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.005875, allocations: 3.938 kB / 0.7916 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.005882, allocations: 0 / 0.7916 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.005883, allocations: 4.531 kB / 0.7916 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.005884, allocations: 1.375 kB / 0.7916 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002062/0.00609, allocations: 207.9 kB / 0.7918 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.176e-05/0.006102, allocations: 7.953 kB / 0.7918 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.006115, allocations: 5.094 kB / 0.7918 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.462e-05/0.00616, allocations: 7.938 kB / 0.7918 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.484e-05/0.006214, allocations: 15.97 kB / 0.7919 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.006219, allocations: 5.281 kB / 0.7919 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.481e-05/0.006264, allocations: 139.1 kB / 0.792 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.006264, allocations: 0 / 0.792 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001531/0.006417, allocations: 12 kB / 0.792 GB, free: 7.223 MB / 0.7448 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.995e-05/0.006517, allocations: 100.9 kB / 0.7921 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001089/0.006626, allocations: 35.67 kB / 0.7921 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.006628, allocations: 1.344 kB / 0.7921 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.386e-05/0.006672, allocations: 31.61 kB / 0.7922 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000204/0.006876, allocations: 11.98 kB / 0.7922 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000334/0.00721, allocations: 180.5 kB / 0.7924 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.561e-05/0.007245, allocations: 61.22 kB / 0.7924 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.455e-05/0.00729, allocations: 8.25 kB / 0.7924 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.471e-05/0.007355, allocations: 16.48 kB / 0.7924 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of SimCode: time 8.41e-07/0.007355, allocations: 0 / 0.7924 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of Templates: time 0.002919/0.01027, allocations: 1.364 MB / 0.7938 GB, free: 5.402 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.259038253221661]