Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.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.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009995/0.009995, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.609/1.609, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.565/1.565, allocations: 252 MB / 0.5105 GB, free: 4.668 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.0005868/0.0005868, allocations: 16 kB / 0.6249 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7812/0.7818, allocations: 106.3 MB / 0.7287 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.002004/0.7838, allocations: 1.211 MB / 0.7299 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005641/0.7844, allocations: 208.3 kB / 0.7301 GB, free: 9.855 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.93e-05/0.7845, allocations: 0 / 0.7301 GB, free: 9.855 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.196e-05/0.7845, allocations: 4 kB / 0.7301 GB, free: 9.852 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001372/0.7847, allocations: 11.86 kB / 0.7301 GB, free: 9.84 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002249/0.7849, allocations: 23.97 kB / 0.7302 GB, free: 9.816 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001312/0.785, allocations: 63.78 kB / 0.7302 GB, free: 9.754 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001647/0.7852, allocations: 19.92 kB / 0.7302 GB, free: 9.734 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.7853, allocations: 27.92 kB / 0.7303 GB, free: 9.707 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.335e-05/0.7854, allocations: 27.84 kB / 0.7303 GB, free: 9.68 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.063e-05/0.7855, allocations: 0 / 0.7303 GB, free: 9.68 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.768e-05/0.7855, allocations: 4 kB / 0.7303 GB, free: 9.676 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.952e-05/0.7855, allocations: 7.938 kB / 0.7303 GB, free: 9.668 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.273e-05/0.7856, allocations: 49.56 kB / 0.7303 GB, free: 9.613 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.7858, allocations: 69.66 kB / 0.7304 GB, free: 9.547 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.7858, allocations: 0 / 0.7304 GB, free: 9.547 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.925e-06/0.7858, allocations: 0 / 0.7304 GB, free: 9.547 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.7858, allocations: 0 / 0.7304 GB, free: 9.547 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007863/0.7866, allocations: 399.2 kB / 0.7308 GB, free: 9.105 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.7867, allocations: 12.03 kB / 0.7308 GB, free: 9.094 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.561e-05/0.7867, allocations: 12.84 kB / 0.7308 GB, free: 9.082 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.7869, allocations: 176.2 kB / 0.731 GB, free: 8.871 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/0.7869, allocations: 4.359 kB / 0.731 GB, free: 8.867 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.7869, allocations: 4.375 kB / 0.731 GB, free: 8.863 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000329/0.7873, allocations: 86.22 kB / 0.7311 GB, free: 8.773 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.7873, allocations: 4.188 kB / 0.7311 GB, free: 8.77 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.7873, allocations: 7.922 kB / 0.7311 GB, free: 8.762 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.7873, allocations: 0 / 0.7311 GB, free: 8.762 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003402/0.7877, allocations: 91.92 kB / 0.7312 GB, free: 8.672 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004959/0.7882, allocations: 308.6 kB / 0.7315 GB, free: 8.32 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/0.7884, allocations: 70.55 kB / 0.7315 GB, free: 8.242 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001709/0.7886, allocations: 56.94 kB / 0.7316 GB, free: 8.184 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.7886, allocations: 4 kB / 0.7316 GB, free: 8.18 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003174/0.7889, allocations: 95.36 kB / 0.7317 GB, free: 8.074 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.704e-06/0.7889, allocations: 4 kB / 0.7317 GB, free: 8.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0006206/0.7896, allocations: 189.5 kB / 0.7319 GB, free: 7.879 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/0.7896, allocations: 51.41 kB / 0.7319 GB, free: 7.816 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.7897, allocations: 121.8 kB / 0.732 GB, free: 7.688 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.7898, allocations: 25.7 kB / 0.7321 GB, free: 7.656 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.679e-05/0.7898, allocations: 100 kB / 0.7322 GB, free: 7.555 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.7899, allocations: 7.812 kB / 0.7322 GB, free: 7.547 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.934e-05/0.7899, allocations: 21.7 kB / 0.7322 GB, free: 7.52 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.7901, allocations: 318.8 kB / 0.7325 GB, free: 7.199 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/0.7902, allocations: 47.95 kB / 0.7325 GB, free: 7.152 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001764/0.7905, allocations: 69.61 kB / 0.7326 GB, free: 7.078 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003166/0.7908, allocations: 105.6 kB / 0.7327 GB, free: 6.969 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.7908, allocations: 4 kB / 0.7327 GB, free: 6.965 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004661/0.7913, allocations: 141.5 kB / 0.7328 GB, free: 6.82 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.7913, allocations: 12.03 kB / 0.7328 GB, free: 6.809 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.7913, allocations: 3.938 kB / 0.7329 GB, free: 6.805 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.7914, allocations: 0 / 0.7329 GB, free: 6.805 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.7915, allocations: 19.98 kB / 0.7329 GB, free: 6.785 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.7915, allocations: 4 kB / 0.7329 GB, free: 6.781 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.7916, allocations: 31.97 kB / 0.7329 GB, free: 6.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.7917, allocations: 0 / 0.7329 GB, free: 6.75 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booPul.pulseStart,$PRE.booPul.pulseStart,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001048/0.7918, allocations: 121.7 kB / 0.733 GB, free: 6.621 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.449e-05/0.7918, allocations: 7.906 kB / 0.733 GB, free: 6.613 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.552e-05/0.7918, allocations: 12.36 kB / 0.733 GB, free: 6.602 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.7918, allocations: 4 kB / 0.733 GB, free: 6.598 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.7919, allocations: 0 / 0.733 GB, free: 6.598 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.7919, allocations: 0 / 0.733 GB, free: 6.598 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.792, allocations: 189.6 kB / 0.7332 GB, free: 6.363 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.792, allocations: 0 / 0.7332 GB, free: 6.363 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.7922, allocations: 27.97 kB / 0.7333 GB, free: 6.336 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.7922, allocations: 0 / 0.7333 GB, free: 6.336 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.385e-06/0.7922, allocations: 3.938 kB / 0.7333 GB, free: 6.332 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.7922, allocations: 320 / 0.7333 GB, free: 6.332 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.7922, allocations: 4 kB / 0.7333 GB, free: 6.328 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000414/0.7926, allocations: 184.9 kB / 0.7334 GB, free: 6.129 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.237e-05/0.7927, allocations: 77.11 kB / 0.7335 GB, free: 6.035 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.7927, allocations: 0 / 0.7335 GB, free: 6.035 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.7928, allocations: 27.97 kB / 0.7335 GB, free: 6.008 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5e-05/0.7929, allocations: 7.984 kB / 0.7335 GB, free: 6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.7929, allocations: 4 kB / 0.7335 GB, free: 5.996 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.139e-05/0.7929, allocations: 99.64 kB / 0.7336 GB, free: 5.898 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7929, allocations: 0 / 0.7336 GB, free: 5.898 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001915/0.7931, allocations: 16 kB / 0.7337 GB, free: 5.883 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: 3 ($whenCondition1,booPul.y,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001426/0.7933, allocations: 99.19 kB / 0.7338 GB, free: 5.777 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004181/0.7937, allocations: 111.9 kB / 0.7339 GB, free: 5.668 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.7937, allocations: 0 / 0.7339 GB, free: 5.668 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001882/0.7939, allocations: 60.02 kB / 0.7339 GB, free: 5.609 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.7942, allocations: 25.89 kB / 0.7339 GB, free: 5.586 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004222/0.7946, allocations: 182.4 kB / 0.7341 GB, free: 5.379 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004901/0.7951, allocations: 0.6887 MB / 0.7348 GB, free: 4.664 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.952e-05/0.7951, allocations: 7.75 kB / 0.7348 GB, free: 4.656 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.41e-05/0.7952, allocations: 7.438 kB / 0.7348 GB, free: 4.648 MB / 0.545 GB Notification: Performance of SimCode: time 3.41e-07/0.7952, allocations: 0 / 0.7348 GB, free: 4.648 MB / 0.545 GB Notification: Performance of Templates: time 0.003385/0.7986, allocations: 0.8466 MB / 0.7356 GB, free: 3.812 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) Environment - environmentSimulation: