Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.007941/0.007942, allocations: 168.8 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.659/1.659, allocations: 205.4 MB / 222.4 MB, free: 5.805 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.681/1.681, allocations: 252 MB / 0.5105 GB, free: 4.672 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006198/0.00062, allocations: 23.98 kB / 0.6249 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5757/0.5763, allocations: 106.3 MB / 0.7287 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.0009409/0.5773, allocations: 288.6 kB / 0.729 GB, free: 11.13 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 4.589e-05/0.5774, allocations: 7.938 kB / 0.729 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.142e-05/0.5774, allocations: 0 / 0.729 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.83e-05/0.5775, allocations: 0 / 0.729 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.007e-05/0.5775, allocations: 0 / 0.729 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 3.277e-05/0.5775, allocations: 0 / 0.729 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.81e-05/0.5776, allocations: 7.938 kB / 0.729 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.857e-05/0.5777, allocations: 0 / 0.729 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.668e-05/0.5777, allocations: 0 / 0.729 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.174e-05/0.5777, allocations: 0 / 0.729 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.5777, allocations: 0 / 0.729 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.429e-06/0.5778, allocations: 0 / 0.729 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.453e-05/0.5778, allocations: 4 kB / 0.729 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.814e-05/0.5778, allocations: 37.69 kB / 0.7291 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 5.566e-05/0.5779, allocations: 3.984 kB / 0.7291 GB, free: 11.07 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.5779, allocations: 3.938 kB / 0.7291 GB, free: 11.06 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.084e-06/0.5779, allocations: 0 / 0.7291 GB, free: 11.06 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.5779, allocations: 0 / 0.7291 GB, free: 11.06 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003096/0.5782, allocations: 319.5 kB / 0.7294 GB, free: 10.7 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/0.5783, allocations: 8.031 kB / 0.7294 GB, free: 10.69 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.09e-05/0.5783, allocations: 0.9375 kB / 0.7294 GB, free: 10.69 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.5785, allocations: 160.4 kB / 0.7295 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.5785, allocations: 8.375 kB / 0.7296 GB, free: 10.49 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.425e-06/0.5785, allocations: 384 / 0.7296 GB, free: 10.49 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.98e-05/0.5786, allocations: 34.2 kB / 0.7296 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.5786, allocations: 192 / 0.7296 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.5786, allocations: 7.938 kB / 0.7296 GB, free: 10.44 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.5786, allocations: 0 / 0.7296 GB, free: 10.44 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.935e-05/0.5787, allocations: 4 kB / 0.7296 GB, free: 10.44 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003507/0.579, allocations: 379.5 kB / 0.73 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.616e-05/0.5791, allocations: 177 kB / 0.7301 GB, free: 9.832 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.241e-05/0.5792, allocations: 80.14 kB / 0.7302 GB, free: 9.75 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.966e-05/0.5792, allocations: 75.28 kB / 0.7303 GB, free: 9.676 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.43e-05/0.5793, allocations: 105.8 kB / 0.7304 GB, free: 9.562 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.5793, allocations: 4 kB / 0.7304 GB, free: 9.559 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 7.319e-05/0.5794, allocations: 32.55 kB / 0.7304 GB, free: 9.523 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.025e-05/0.5794, allocations: 130.7 kB / 0.7305 GB, free: 9.383 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.017e-05/0.5795, allocations: 101.7 kB / 0.7306 GB, free: 9.273 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.5796, allocations: 25.7 kB / 0.7307 GB, free: 9.242 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.314e-05/0.5796, allocations: 84.14 kB / 0.7307 GB, free: 9.156 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-06/0.5796, allocations: 0 / 0.7307 GB, free: 9.156 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.738e-05/0.5796, allocations: 9.844 kB / 0.7308 GB, free: 9.141 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.5798, allocations: 314.8 kB / 0.7311 GB, free: 8.824 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.546e-06/0.5798, allocations: 0 / 0.7311 GB, free: 8.824 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.136e-06/0.5798, allocations: 0 / 0.7311 GB, free: 8.824 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.72e-05/0.5798, allocations: 75.28 kB / 0.7311 GB, free: 8.75 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-05/0.5798, allocations: 75.28 kB / 0.7312 GB, free: 8.676 MB / 0.545 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.749e-05/0.5799, allocations: 41.62 kB / 0.7312 GB, free: 8.629 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.732e-05/0.58, allocations: 79.28 kB / 0.7313 GB, free: 8.551 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.894e-05/0.58, allocations: 83.22 kB / 0.7314 GB, free: 8.469 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.182e-05/0.5801, allocations: 154.6 kB / 0.7315 GB, free: 8.316 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.423e-05/0.5801, allocations: 83.16 kB / 0.7316 GB, free: 8.234 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.287e-05/0.5802, allocations: 150.6 kB / 0.7318 GB, free: 8.086 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.526e-05/0.5803, allocations: 79.31 kB / 0.7318 GB, free: 8.008 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.091e-05/0.5803, allocations: 87.2 kB / 0.7319 GB, free: 7.922 MB / 0.545 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 (0): * Single equations (assignments): 0 * 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 0.0001438/0.5804, allocations: 268.3 kB / 0.7322 GB, free: 7.648 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.029e-05/0.5805, allocations: 101 kB / 0.7323 GB, free: 7.543 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.17e-05/0.5806, allocations: 112 kB / 0.7324 GB, free: 7.426 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.166e-05/0.5807, allocations: 176.3 kB / 0.7325 GB, free: 7.246 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.028e-05/0.5807, allocations: 180.2 kB / 0.7327 GB, free: 7.062 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-05/0.5808, allocations: 184.2 kB / 0.7329 GB, free: 6.875 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002556/0.5811, allocations: 405.2 kB / 0.7333 GB, free: 6.422 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-05/0.5811, allocations: 108.9 kB / 0.7334 GB, free: 6.309 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.508e-05/0.5812, allocations: 101 kB / 0.7335 GB, free: 6.203 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.744e-05/0.5812, allocations: 176.3 kB / 0.7336 GB, free: 6.023 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.005e-05/0.5813, allocations: 188.2 kB / 0.7338 GB, free: 5.832 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.093e-05/0.5814, allocations: 180.3 kB / 0.734 GB, free: 5.648 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.015e-05/0.5815, allocations: 180.2 kB / 0.7342 GB, free: 5.465 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001634/0.5816, allocations: 308.1 kB / 0.7345 GB, free: 5.141 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.652e-05/0.5817, allocations: 186 kB / 0.7346 GB, free: 4.934 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.957e-05/0.5818, allocations: 188.2 kB / 0.7348 GB, free: 4.742 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.245e-05/0.5819, allocations: 113 kB / 0.7349 GB, free: 4.625 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.35e-05/0.582, allocations: 176.3 kB / 0.7351 GB, free: 4.445 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/0.582, allocations: 105 kB / 0.7352 GB, free: 4.336 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.313e-05/0.5821, allocations: 87.22 kB / 0.7353 GB, free: 4.25 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5821, allocations: 0 / 0.7353 GB, free: 4.25 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002584/0.5823, allocations: 0 / 0.7353 GB, free: 4.25 MB / 0.545 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 (0): * Single equations (assignments): 0 * 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.0001634/0.5825, allocations: 178.6 kB / 0.7355 GB, free: 4.062 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 3.541e-05/0.5826, allocations: 3.984 kB / 0.7355 GB, free: 4.059 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5826, allocations: 3.938 kB / 0.7355 GB, free: 4.055 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.843e-06/0.5826, allocations: 0 / 0.7355 GB, free: 4.055 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004162/0.583, allocations: 0.527 MB / 0.736 GB, free: 3.527 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002292/0.5832, allocations: 161.9 kB / 0.7361 GB, free: 3.34 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.5835, allocations: 0.6692 MB / 0.7368 GB, free: 2.645 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.267e-06/0.5835, allocations: 3.938 kB / 0.7368 GB, free: 2.641 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.474e-05/0.5835, allocations: 7.438 kB / 0.7368 GB, free: 2.633 MB / 0.545 GB Notification: Performance of SimCode: time 4.51e-07/0.5835, allocations: 0 / 0.7368 GB, free: 2.633 MB / 0.545 GB Notification: Performance of Templates: time 0.001943/0.5855, allocations: 166.6 kB / 0.737 GB, free: 2.473 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) Environment - environmentSimulation: