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.0008674/0.0008674, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001109/0.001109, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.544/1.544, allocations: 205.4 MB / 222.1 MB, free: 5.887 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.684/1.684, allocations: 252 MB / 0.5102 GB, free: 4.84 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.0005529/0.0005531, allocations: 24.22 kB / 0.6243 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5811/0.5816, allocations: 106.3 MB / 0.7282 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.0007519/0.5824, allocations: 284.6 kB / 0.7284 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 4.033e-05/0.5825, allocations: 4 kB / 0.7284 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.543e-05/0.5825, allocations: 0 / 0.7284 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.611e-05/0.5825, allocations: 0 / 0.7284 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.909e-05/0.5826, allocations: 0 / 0.7284 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 2.882e-05/0.5826, allocations: 0 / 0.7284 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.338e-05/0.5827, allocations: 11.88 kB / 0.7284 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.062e-05/0.5827, allocations: 0 / 0.7284 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.456e-05/0.5828, allocations: 4 kB / 0.7284 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 1.878e-05/0.5828, allocations: 0 / 0.7284 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.5828, allocations: 0 / 0.7284 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.158e-06/0.5828, allocations: 0 / 0.7284 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.544e-06/0.5828, allocations: 0 / 0.7284 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.064e-05/0.5828, allocations: 25.7 kB / 0.7285 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 4.283e-05/0.5829, allocations: 4 kB / 0.7285 GB, free: 11.09 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.5829, allocations: 0 / 0.7285 GB, free: 11.09 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.387e-06/0.5829, allocations: 3.984 kB / 0.7285 GB, free: 11.08 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.5829, allocations: 0 / 0.7285 GB, free: 11.08 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.0002717/0.5832, allocations: 315.3 kB / 0.7288 GB, free: 10.73 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.5833, allocations: 12.09 kB / 0.7288 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.61e-05/0.5833, allocations: 0 / 0.7288 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.5834, allocations: 167 kB / 0.7289 GB, free: 10.51 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.5834, allocations: 0 / 0.7289 GB, free: 10.51 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.5835, allocations: 3.938 kB / 0.729 GB, free: 10.51 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.691e-05/0.5835, allocations: 37.62 kB / 0.729 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.5836, allocations: 0 / 0.729 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.004e-06/0.5836, allocations: 0 / 0.729 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.5836, allocations: 4 kB / 0.729 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.339e-05/0.5836, allocations: 4 kB / 0.729 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003057/0.5839, allocations: 383.5 kB / 0.7294 GB, free: 10.03 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.626e-05/0.584, allocations: 169.1 kB / 0.7295 GB, free: 9.855 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.02e-05/0.584, allocations: 88.17 kB / 0.7296 GB, free: 9.766 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.886e-05/0.5841, allocations: 79.28 kB / 0.7297 GB, free: 9.688 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.5841, allocations: 105.8 kB / 0.7298 GB, free: 9.574 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/0.5841, allocations: 0 / 0.7298 GB, free: 9.574 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 6.628e-05/0.5842, allocations: 25.7 kB / 0.7298 GB, free: 9.543 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/0.5843, allocations: 130.6 kB / 0.7299 GB, free: 9.402 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.76e-05/0.5843, allocations: 97.84 kB / 0.73 GB, free: 9.297 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.5844, allocations: 25.83 kB / 0.7301 GB, free: 9.266 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.564e-05/0.5844, allocations: 88.14 kB / 0.7301 GB, free: 9.176 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.502e-06/0.5844, allocations: 0 / 0.7301 GB, free: 9.176 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/0.5844, allocations: 4 kB / 0.7301 GB, free: 9.172 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.5845, allocations: 314.8 kB / 0.7304 GB, free: 8.855 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.566e-06/0.5845, allocations: 0 / 0.7304 GB, free: 8.855 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.466e-06/0.5845, allocations: 2.719 kB / 0.7304 GB, free: 8.855 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.667e-05/0.5846, allocations: 75.28 kB / 0.7305 GB, free: 8.781 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.01e-05/0.5846, allocations: 75.28 kB / 0.7306 GB, free: 8.707 MB / 0.545 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.571e-05/0.5847, allocations: 33.7 kB / 0.7306 GB, free: 8.668 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.222e-05/0.5847, allocations: 85.09 kB / 0.7307 GB, free: 8.586 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.475e-05/0.5847, allocations: 79.22 kB / 0.7308 GB, free: 8.508 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.382e-05/0.5848, allocations: 150.6 kB / 0.7309 GB, free: 8.359 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.14e-05/0.5848, allocations: 91.2 kB / 0.731 GB, free: 8.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.385e-05/0.5849, allocations: 150.6 kB / 0.7311 GB, free: 8.121 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.557e-05/0.585, allocations: 83.31 kB / 0.7312 GB, free: 8.039 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.012e-05/0.585, allocations: 79.22 kB / 0.7313 GB, free: 7.961 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00011/0.5851, allocations: 264.4 kB / 0.7316 GB, free: 7.691 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.216e-05/0.5852, allocations: 101 kB / 0.7317 GB, free: 7.586 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.707e-05/0.5852, allocations: 116 kB / 0.7318 GB, free: 7.465 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.765e-05/0.5853, allocations: 184.2 kB / 0.7319 GB, free: 7.277 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.735e-05/0.5854, allocations: 180.3 kB / 0.7321 GB, free: 7.094 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.421e-05/0.5854, allocations: 184.1 kB / 0.7323 GB, free: 6.906 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002281/0.5857, allocations: 409.2 kB / 0.7327 GB, free: 6.449 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.554e-05/0.5857, allocations: 104.9 kB / 0.7328 GB, free: 6.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.785e-05/0.5857, allocations: 101 kB / 0.7329 GB, free: 6.234 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.04e-05/0.5858, allocations: 180.3 kB / 0.733 GB, free: 6.051 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-05/0.5859, allocations: 188.2 kB / 0.7332 GB, free: 5.859 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.793e-05/0.5859, allocations: 176.3 kB / 0.7334 GB, free: 5.68 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.068e-05/0.586, allocations: 180.2 kB / 0.7336 GB, free: 5.496 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001232/0.5861, allocations: 312.1 kB / 0.7339 GB, free: 5.168 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.025e-05/0.5862, allocations: 186.1 kB / 0.734 GB, free: 4.961 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.849e-05/0.5863, allocations: 180.3 kB / 0.7342 GB, free: 4.777 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.231e-05/0.5864, allocations: 109 kB / 0.7343 GB, free: 4.664 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.858e-05/0.5864, allocations: 180.3 kB / 0.7345 GB, free: 4.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.596e-05/0.5865, allocations: 104.9 kB / 0.7346 GB, free: 4.371 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.316e-05/0.5865, allocations: 87.27 kB / 0.7347 GB, free: 4.285 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5865, allocations: 0 / 0.7347 GB, free: 4.285 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002558/0.5868, allocations: 0 / 0.7347 GB, free: 4.285 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001372/0.5869, allocations: 170.5 kB / 0.7348 GB, free: 4.105 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 4.432e-05/0.587, allocations: 4 kB / 0.7348 GB, free: 4.102 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.587, allocations: 0 / 0.7348 GB, free: 4.102 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.587, allocations: 0 / 0.7348 GB, free: 4.102 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003901/0.5874, allocations: 0.5283 MB / 0.7354 GB, free: 3.57 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002069/0.5876, allocations: 157.9 kB / 0.7355 GB, free: 3.387 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.5879, allocations: 0.6731 MB / 0.7362 GB, free: 2.688 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.979e-06/0.5879, allocations: 0 / 0.7362 GB, free: 2.688 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.523e-05/0.5879, allocations: 11.38 kB / 0.7362 GB, free: 2.676 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.5879, allocations: 4 kB / 0.7362 GB, free: 2.672 MB / 0.545 GB Notification: Performance of Templates: time 0.001979/0.5899, allocations: 156.2 kB / 0.7363 GB, free: 2.52 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: