Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.001674/0.001673, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002255/0.002255, allocations: 196.4 kB / 16.53 MB, free: 6.664 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.566/1.566, allocations: 205.1 MB / 222.4 MB, free: 4.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.768/1.768, allocations: 292.3 MB / 0.5489 GB, free: 12.81 MB / 462.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.001717/0.001717, allocations: 70.78 kB / 0.6715 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3986/0.4004, allocations: 114.6 MB / 0.7834 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.003867/0.4043, allocations: 0.7603 MB / 0.7841 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002162/0.4065, allocations: 1.141 MB / 0.7852 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.007e-05/0.4066, allocations: 4 kB / 0.7852 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.118e-05/0.4068, allocations: 3.938 kB / 0.7852 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.895e-05/0.4069, allocations: 11.88 kB / 0.7853 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005921/0.4075, allocations: 126.8 kB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002136/0.4077, allocations: 139.7 kB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.4078, allocations: 12 kB / 0.7855 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.408, allocations: 59.83 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.4081, allocations: 47.81 kB / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.063e-05/0.4081, allocations: 8 kB / 0.7856 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.4082, allocations: 35.98 kB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.654e-05/0.4083, allocations: 7.984 kB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.16e-05/0.4084, allocations: 39.86 kB / 0.7857 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002173/0.4086, allocations: 119.9 kB / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.4086, allocations: 0 / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.655e-06/0.4086, allocations: 0 / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.648e-06/0.4086, allocations: 0 / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008067/0.4094, allocations: 428.9 kB / 0.7862 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.4095, allocations: 12.03 kB / 0.7862 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.728e-05/0.4096, allocations: 16.78 kB / 0.7863 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.4097, allocations: 182.7 kB / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.4098, allocations: 384 / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.53e-05/0.4098, allocations: 12.38 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002748/0.4101, allocations: 78.14 kB / 0.7865 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.4101, allocations: 4.125 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.4101, allocations: 3.938 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.4101, allocations: 4 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002817/0.4104, allocations: 67.92 kB / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000515/0.4109, allocations: 332.6 kB / 0.7869 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001956/0.4111, allocations: 63.53 kB / 0.787 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000158/0.4113, allocations: 40.91 kB / 0.787 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.4113, allocations: 4 kB / 0.787 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003849/0.4117, allocations: 91.36 kB / 0.7871 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.4117, allocations: 0 / 0.7871 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0006598/0.4124, allocations: 165.5 kB / 0.7873 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.27e-05/0.4125, allocations: 51.41 kB / 0.7873 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.4126, allocations: 122 kB / 0.7874 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.842e-05/0.4127, allocations: 37.7 kB / 0.7875 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.451e-05/0.4127, allocations: 92.12 kB / 0.7876 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.4128, allocations: 15.75 kB / 0.7876 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.149e-05/0.4129, allocations: 33.7 kB / 0.7876 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.413, allocations: 322.8 kB / 0.7879 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002261/0.4132, allocations: 55.95 kB / 0.788 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002367/0.4135, allocations: 86.52 kB / 0.788 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003693/0.4139, allocations: 140.1 kB / 0.7882 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.4139, allocations: 4 kB / 0.7882 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005032/0.4144, allocations: 207.1 kB / 0.7884 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.396e-05/0.4144, allocations: 41.69 kB / 0.7884 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.4145, allocations: 0 / 0.7884 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.4145, allocations: 4 kB / 0.7884 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.4146, allocations: 20.05 kB / 0.7884 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.4146, allocations: 0 / 0.7884 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002372/0.4149, allocations: 35.94 kB / 0.7885 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.338e-05/0.4149, allocations: 12 kB / 0.7885 GB, free: 7.934 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.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): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.0001194/0.415, allocations: 122.4 kB / 0.7886 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.693e-05/0.4151, allocations: 8 kB / 0.7886 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.909e-05/0.4151, allocations: 16.3 kB / 0.7886 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/0.4151, allocations: 4 kB / 0.7886 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.4151, allocations: 320 / 0.7886 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.4151, allocations: 0 / 0.7886 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/0.4153, allocations: 189.6 kB / 0.7888 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.4153, allocations: 4 kB / 0.7888 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.653e-05/0.4154, allocations: 19.97 kB / 0.7888 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.4154, allocations: 0 / 0.7888 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.4155, allocations: 4 kB / 0.7888 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4155, allocations: 0 / 0.7888 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4155, allocations: 0 / 0.7888 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003848/0.4159, allocations: 156.8 kB / 0.789 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.988e-05/0.4159, allocations: 85.02 kB / 0.7891 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.416, allocations: 0 / 0.7891 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.378e-05/0.4161, allocations: 19.98 kB / 0.7891 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.167e-05/0.4161, allocations: 7.984 kB / 0.7891 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.4161, allocations: 0 / 0.7891 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.562e-05/0.4162, allocations: 98.39 kB / 0.7892 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.4162, allocations: 0 / 0.7892 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002369/0.4165, allocations: 24 kB / 0.7892 GB, free: 7.098 MB / 0.6075 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,$whenCondition2,booPul.y) * 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.0002108/0.4167, allocations: 103.2 kB / 0.7893 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005308/0.4172, allocations: 195.2 kB / 0.7895 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4172, allocations: 0 / 0.7895 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001785/0.4174, allocations: 43.97 kB / 0.7895 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.4177, allocations: 26.64 kB / 0.7896 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005113/0.4182, allocations: 166.1 kB / 0.7897 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.4185, allocations: 0.6885 MB / 0.7904 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.427e-05/0.4186, allocations: 11.98 kB / 0.7904 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.574e-05/0.4186, allocations: 11.44 kB / 0.7904 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of SimCode: time 3.61e-07/0.4186, allocations: 0 / 0.7904 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of Templates: time 0.005034/0.4237, allocations: 1.575 MB / 0.792 GB, free: 4.23 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1)