Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.529/2.529, allocations: 287.5 MB / 303.2 MB, free: 8.344 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001425/0.001425, allocations: 181.9 kB / 371.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.108/2.108, allocations: 205.4 MB / 0.6305 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009096/0.0009095, allocations: 92.88 kB / 0.7438 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004942/0.0004943, allocations: 15.66 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.2231, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.958/1.181, allocations: 138.1 MB / 1.114 GB, free: 15.83 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/1.181, allocations: 76.42 kB / 1.114 GB, free: 15.83 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01427/1.196, allocations: 2.231 MB / 1.116 GB, free: 31.43 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.945e-06/1.196, allocations: 0 / 1.116 GB, free: 31.43 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.176e-05/1.196, allocations: 3.875 kB / 1.116 GB, free: 31.43 MB / 0.698 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.001011/1.197, allocations: 430.8 kB / 1.117 GB, free: 31.02 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/1.197, allocations: 7.688 kB / 1.117 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.465e-05/1.197, allocations: 4.75 kB / 1.117 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/1.197, allocations: 183.2 kB / 1.117 GB, free: 30.81 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.998e-05/1.197, allocations: 7.234 kB / 1.117 GB, free: 30.81 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.902e-05/1.197, allocations: 11.94 kB / 1.117 GB, free: 30.81 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000509/1.198, allocations: 86.41 kB / 1.117 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/1.198, allocations: 192 / 1.117 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/1.198, allocations: 3.938 kB / 1.117 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/1.198, allocations: 0 / 1.117 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007544/1.199, allocations: 103.7 kB / 1.117 GB, free: 30.76 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008325/1.2, allocations: 331.2 kB / 1.118 GB, free: 30.48 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004435/1.2, allocations: 63.31 kB / 1.118 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004238/1.2, allocations: 54.78 kB / 1.118 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/1.201, allocations: 0 / 1.118 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006003/1.201, allocations: 112.9 kB / 1.118 GB, free: 30.39 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 3.958e-06/1.201, allocations: 0 / 1.118 GB, free: 30.39 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.001464/1.203, allocations: 188.3 kB / 1.118 GB, free: 30.36 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.021e-05/1.203, allocations: 51.41 kB / 1.118 GB, free: 30.29 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/1.203, allocations: 135 kB / 1.118 GB, free: 30.18 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.221e-05/1.203, allocations: 25.7 kB / 1.118 GB, free: 30.15 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/1.203, allocations: 101.7 kB / 1.118 GB, free: 30.07 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.865e-05/1.203, allocations: 22.22 kB / 1.118 GB, free: 30.05 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.817e-05/1.203, allocations: 3.938 kB / 1.118 GB, free: 30.05 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001889/1.204, allocations: 322 kB / 1.119 GB, free: 29.73 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005513/1.204, allocations: 72.91 kB / 1.119 GB, free: 29.73 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005659/1.205, allocations: 86.27 kB / 1.119 GB, free: 29.71 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009535/1.206, allocations: 171.9 kB / 1.119 GB, free: 29.64 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/1.206, allocations: 0 / 1.119 GB, free: 29.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001339/1.207, allocations: 232 kB / 1.119 GB, free: 29.57 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.114e-05/1.207, allocations: 39.72 kB / 1.119 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/1.207, allocations: 0 / 1.119 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/1.207, allocations: 0 / 1.119 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003299/1.208, allocations: 29.67 kB / 1.119 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/1.208, allocations: 3.844 kB / 1.119 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006185/1.208, allocations: 52.14 kB / 1.119 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.141e-05/1.208, allocations: 14.72 kB / 1.119 GB, free: 29.52 MB / 0.698 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,$PRE.booPul.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002159/1.209, allocations: 121.5 kB / 1.119 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.425e-05/1.209, allocations: 3.875 kB / 1.119 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.481e-05/1.209, allocations: 11.58 kB / 1.119 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/1.209, allocations: 3.844 kB / 1.119 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/1.209, allocations: 0 / 1.119 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/1.209, allocations: 0 / 1.119 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002487/1.209, allocations: 183.9 kB / 1.12 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/1.209, allocations: 0 / 1.12 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002805/1.209, allocations: 32.92 kB / 1.12 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/1.209, allocations: 3.938 kB / 1.12 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/1.209, allocations: 0 / 1.12 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.501e-06/1.209, allocations: 0.625 kB / 1.12 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/1.209, allocations: 0 / 1.12 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009804/1.21, allocations: 176 kB / 1.12 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.077e-05/1.211, allocations: 92.28 kB / 1.12 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.572e-05/1.211, allocations: 0 / 1.12 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002403/1.211, allocations: 18.02 kB / 1.12 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.987e-05/1.211, allocations: 8.859 kB / 1.12 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/1.211, allocations: 3.844 kB / 1.12 GB, free: 29.02 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001119/1.211, allocations: 94.81 kB / 1.12 GB, free: 28.95 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.41e-07/1.211, allocations: 0 / 1.12 GB, free: 28.95 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005574/1.212, allocations: 27.06 kB / 1.12 GB, free: 28.94 MB / 0.698 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 (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.0002607/1.212, allocations: 109.8 kB / 1.12 GB, free: 28.84 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001203/1.213, allocations: 212.5 kB / 1.12 GB, free: 28.78 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/1.213, allocations: 96 / 1.12 GB, free: 28.78 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000446/1.214, allocations: 63.75 kB / 1.12 GB, free: 28.77 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004559/1.214, allocations: 17.72 kB / 1.12 GB, free: 28.76 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006387/1.215, allocations: 176.8 kB / 1.121 GB, free: 28.62 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003874/1.215, allocations: 0.6918 MB / 1.121 GB, free: 27.93 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.744e-05/1.215, allocations: 3.844 kB / 1.121 GB, free: 27.93 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.576e-05/1.215, allocations: 11.31 kB / 1.121 GB, free: 27.92 MB / 0.698 GB Notification: Performance of SimCode: time 1.262e-06/1.215, allocations: 0 / 1.121 GB, free: 27.92 MB / 0.698 GB Notification: Performance of Templates: time 0.007504/1.223, allocations: 1.352 MB / 1.123 GB, free: 27.8 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1)