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.0009698/0.0009698, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0008873/0.0008873, allocations: 169 kB / 24.28 MB, free: 276 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 1.023/1.023, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.831/1.831, allocations: 359 MB / 0.6055 GB, free: 10.98 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 3.386e-06/3.386e-06, allocations: 0 / 0.7872 GB, free: 11.59 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.231e-05/3.57e-05, allocations: 5.406 kB / 0.7872 GB, free: 11.59 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.001607/0.001643, allocations: 0.7508 MB / 0.7879 GB, free: 10.85 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009552/0.002598, allocations: 0.8867 MB / 0.7888 GB, free: 9.953 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.758e-05/0.002656, allocations: 4.781 kB / 0.7888 GB, free: 9.949 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.638e-05/0.002692, allocations: 7.875 kB / 0.7888 GB, free: 9.941 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 9.857e-05/0.002791, allocations: 9.547 kB / 0.7888 GB, free: 9.934 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001727/0.002964, allocations: 23.97 kB / 0.7888 GB, free: 9.91 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.003066, allocations: 67.83 kB / 0.7889 GB, free: 9.844 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.0032, allocations: 23.97 kB / 0.7889 GB, free: 9.82 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.003304, allocations: 41.12 kB / 0.7889 GB, free: 9.781 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.063e-05/0.003364, allocations: 35.88 kB / 0.789 GB, free: 9.746 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.712e-05/0.003391, allocations: 8 kB / 0.789 GB, free: 9.738 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.051e-05/0.003402, allocations: 4.906 kB / 0.789 GB, free: 9.734 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.437e-05/0.003426, allocations: 19.92 kB / 0.789 GB, free: 9.715 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.398e-05/0.00346, allocations: 20.77 kB / 0.789 GB, free: 9.695 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.003564, allocations: 55.75 kB / 0.7891 GB, free: 9.641 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.003566, allocations: 0 / 0.7891 GB, free: 9.641 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.62e-07/0.003567, allocations: 0.5625 kB / 0.7891 GB, free: 9.641 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.003572, allocations: 1.156 kB / 0.7891 GB, free: 9.641 MB / 0.698 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.0004451/0.004017, allocations: 396 kB / 0.7895 GB, free: 9.215 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.004058, allocations: 12.59 kB / 0.7895 GB, free: 9.203 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.079e-05/0.004109, allocations: 16.89 kB / 0.7895 GB, free: 9.188 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.004229, allocations: 125.3 kB / 0.7896 GB, free: 9.039 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.63e-05/0.004256, allocations: 8.312 kB / 0.7896 GB, free: 9.031 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.004269, allocations: 9.281 kB / 0.7896 GB, free: 9.023 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.004418, allocations: 74.86 kB / 0.7897 GB, free: 8.941 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.004425, allocations: 0.8438 kB / 0.7897 GB, free: 8.941 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.004437, allocations: 9.969 kB / 0.7897 GB, free: 8.934 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.004446, allocations: 384 / 0.7897 GB, free: 8.934 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.106e-05/0.004507, allocations: 27.84 kB / 0.7897 GB, free: 8.906 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003732/0.00488, allocations: 305.2 kB / 0.79 GB, free: 8.574 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.004992, allocations: 55.03 kB / 0.7901 GB, free: 8.508 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.972e-05/0.005032, allocations: 19.78 kB / 0.7901 GB, free: 8.484 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.005046, allocations: 5.531 kB / 0.7901 GB, free: 8.48 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.005071, allocations: 37.39 kB / 0.7901 GB, free: 8.434 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.005072, allocations: 0 / 0.7901 GB, free: 8.434 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0002153/0.005287, allocations: 81 kB / 0.7902 GB, free: 8.352 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.005323, allocations: 55.41 kB / 0.7903 GB, free: 8.285 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.337e-05/0.005416, allocations: 177.9 kB / 0.7904 GB, free: 8.094 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.005428, allocations: 25.7 kB / 0.7905 GB, free: 8.062 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.155e-05/0.00549, allocations: 142.8 kB / 0.7906 GB, free: 7.918 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.964e-05/0.005519, allocations: 19.84 kB / 0.7906 GB, free: 7.898 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.438e-05/0.005554, allocations: 23.38 kB / 0.7906 GB, free: 7.867 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0004624/0.006016, allocations: 0.4884 MB / 0.7911 GB, free: 7.367 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.201e-05/0.006048, allocations: 8 kB / 0.7911 GB, free: 7.359 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.486e-05/0.006073, allocations: 12.67 kB / 0.7911 GB, free: 7.348 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.939e-05/0.006132, allocations: 28.28 kB / 0.7912 GB, free: 7.316 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.006134, allocations: 0 / 0.7912 GB, free: 7.316 MB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001041/0.006238, allocations: 78.59 kB / 0.7912 GB, free: 7.234 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.006254, allocations: 5.25 kB / 0.7912 GB, free: 7.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.006259, allocations: 0 / 0.7912 GB, free: 7.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.006273, allocations: 0 / 0.7912 GB, free: 7.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.93e-05/0.006372, allocations: 20.05 kB / 0.7913 GB, free: 7.211 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.006379, allocations: 0.625 kB / 0.7913 GB, free: 7.211 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.066e-05/0.006409, allocations: 13.06 kB / 0.7913 GB, free: 7.199 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.006417, allocations: 3.984 kB / 0.7913 GB, free: 7.195 MB / 0.698 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 7.835e-05/0.006495, allocations: 153.5 kB / 0.7914 GB, free: 7.035 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.144e-05/0.006517, allocations: 23.81 kB / 0.7914 GB, free: 7.012 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.926e-05/0.006546, allocations: 12.44 kB / 0.7915 GB, free: 7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.006548, allocations: 0.6875 kB / 0.7915 GB, free: 7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.006551, allocations: 5.188 kB / 0.7915 GB, free: 6.996 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.006555, allocations: 0 / 0.7915 GB, free: 6.996 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.00667, allocations: 140.6 kB / 0.7916 GB, free: 6.824 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.006672, allocations: 0 / 0.7916 GB, free: 6.824 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.968e-05/0.006711, allocations: 12.67 kB / 0.7916 GB, free: 6.812 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.006715, allocations: 5.188 kB / 0.7916 GB, free: 6.809 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.006721, allocations: 0 / 0.7916 GB, free: 6.809 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.006722, allocations: 4 kB / 0.7916 GB, free: 6.805 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.006725, allocations: 3.984 kB / 0.7916 GB, free: 6.801 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001343/0.006859, allocations: 214.7 kB / 0.7918 GB, free: 6.574 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.387e-06/0.006868, allocations: 7.953 kB / 0.7918 GB, free: 6.566 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.006882, allocations: 7.938 kB / 0.7918 GB, free: 6.559 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.068e-05/0.006923, allocations: 4 kB / 0.7918 GB, free: 6.555 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.358e-05/0.006977, allocations: 15.91 kB / 0.7919 GB, free: 6.539 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.006981, allocations: 4 kB / 0.7919 GB, free: 6.535 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.362e-05/0.007025, allocations: 135.2 kB / 0.792 GB, free: 6.402 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.007025, allocations: 1.469 kB / 0.792 GB, free: 6.402 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001427/0.007167, allocations: 12 kB / 0.792 GB, free: 6.391 MB / 0.698 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.321e-05/0.007261, allocations: 95.75 kB / 0.7921 GB, free: 6.289 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001107/0.007371, allocations: 40.22 kB / 0.7921 GB, free: 6.246 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.007373, allocations: 1.375 kB / 0.7921 GB, free: 6.246 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.222e-05/0.007425, allocations: 35.8 kB / 0.7922 GB, free: 6.207 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001834/0.007608, allocations: 4.125 kB / 0.7922 GB, free: 6.203 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003282/0.007937, allocations: 180.6 kB / 0.7923 GB, free: 6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.695e-05/0.007974, allocations: 59.34 kB / 0.7924 GB, free: 5.922 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.57e-05/0.008009, allocations: 10.14 kB / 0.7924 GB, free: 5.914 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.234e-05/0.008052, allocations: 12.5 kB / 0.7924 GB, free: 5.902 MB / 0.698 GB Notification: Performance of SimCode: time 1.123e-06/0.008053, allocations: 4 kB / 0.7924 GB, free: 5.898 MB / 0.698 GB Notification: Performance of Templates: time 0.002919/0.01097, allocations: 1.361 MB / 0.7938 GB, free: 4.578 MB / 0.698 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.242548694834113]