Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Round.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Round") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Round") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.00119, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 193.3 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.983/2.983, allocations: 472.6 MB / 0.7447 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001969/0.00197, allocations: 64 kB / 0.9114 GB, free: 33.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4169/0.4189, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.002323/0.4213, allocations: 0.8158 MB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001041/0.4224, allocations: 0.843 MB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.243e-05/0.4224, allocations: 0 / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.393e-05/0.4225, allocations: 3.938 kB / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.614e-05/0.4226, allocations: 11.92 kB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001659/0.4228, allocations: 27.97 kB / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.727e-05/0.4229, allocations: 63.84 kB / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.423, allocations: 23.84 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.846e-05/0.4231, allocations: 31.91 kB / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.08e-05/0.4232, allocations: 39.77 kB / 1.069 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.35e-05/0.4232, allocations: 8 kB / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.779e-05/0.4233, allocations: 4 kB / 1.069 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.761e-05/0.4233, allocations: 11.92 kB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.779e-05/0.4233, allocations: 23.86 kB / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.4235, allocations: 71.73 kB / 1.069 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.4235, allocations: 4 kB / 1.069 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.686e-06/0.4235, allocations: 8 kB / 1.069 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.4235, allocations: 0 / 1.069 GB, free: 8.887 MB / 0.8262 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.0006505/0.4241, allocations: 367.6 kB / 1.07 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.4242, allocations: 8.031 kB / 1.07 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.4242, allocations: 8.844 kB / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001697/0.4244, allocations: 184.1 kB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.4244, allocations: 12.38 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.4245, allocations: 384 / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002357/0.4247, allocations: 94.08 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.4247, allocations: 192 / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.4248, allocations: 7.938 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.4248, allocations: 0 / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002499/0.425, allocations: 63.94 kB / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005346/0.4256, allocations: 336.5 kB / 1.071 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002493/0.4258, allocations: 86.53 kB / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.426, allocations: 32.94 kB / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.426, allocations: 3.984 kB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.426, allocations: 38.56 kB / 1.071 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.426, allocations: 0 / 1.071 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0004786/0.4265, allocations: 137.5 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.4266, allocations: 51.41 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.4267, allocations: 125.9 kB / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.4267, allocations: 25.7 kB / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.101e-05/0.4267, allocations: 92.14 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.353e-05/0.4268, allocations: 23.64 kB / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.139e-05/0.4268, allocations: 21.72 kB / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.427, allocations: 322.8 kB / 1.071 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.4271, allocations: 27.97 kB / 1.071 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.4272, allocations: 27.98 kB / 1.071 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002117/0.4274, allocations: 72.8 kB / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4274, allocations: 0 / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002846/0.4277, allocations: 109.5 kB / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.4278, allocations: 9.703 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.4278, allocations: 448 / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.4278, allocations: 0 / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.4279, allocations: 15.98 kB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.4279, allocations: 0 / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.404e-05/0.428, allocations: 15.98 kB / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.4281, allocations: 4 kB / 1.072 GB, free: 6.383 MB / 0.8262 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 9.054e-05/0.4281, allocations: 113.8 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.042e-05/0.4282, allocations: 7.906 kB / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.843e-05/0.4282, allocations: 8.375 kB / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.4282, allocations: 4 kB / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.4282, allocations: 0 / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.4282, allocations: 3.984 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003352/0.4286, allocations: 197.5 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4286, allocations: 4 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.4287, allocations: 23.86 kB / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.4287, allocations: 0 / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.4287, allocations: 0 / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4287, allocations: 0 / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-05/0.4288, allocations: 7.984 kB / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003226/0.4291, allocations: 207.3 kB / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.572e-05/0.4292, allocations: 81.11 kB / 1.072 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.4292, allocations: 0 / 1.072 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.4293, allocations: 15.92 kB / 1.072 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.532e-05/0.4294, allocations: 11.98 kB / 1.072 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.4294, allocations: 0 / 1.072 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.8e-05/0.4295, allocations: 95.27 kB / 1.072 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4295, allocations: 0 / 1.072 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000223/0.4297, allocations: 11.94 kB / 1.072 GB, free: 5.512 MB / 0.8262 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 0.0002285/0.4299, allocations: 111.2 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000288/0.4302, allocations: 75.88 kB / 1.073 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4302, allocations: 0 / 1.073 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.4304, allocations: 43.91 kB / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/0.4307, allocations: 8 kB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004707/0.4312, allocations: 191.2 kB / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.4315, allocations: 0.6887 MB / 1.074 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.003e-05/0.4316, allocations: 8 kB / 1.074 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.406e-05/0.4316, allocations: 15.42 kB / 1.074 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of SimCode: time 4.81e-07/0.4316, allocations: 0 / 1.074 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of Templates: time 0.003586/0.4352, allocations: 1.074 MB / 1.075 GB, free: 3.25 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Round.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Round -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1)