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/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.631/1.631, allocations: 289.7 MB / 302.2 MB, free: 2.184 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.001082/0.001082, allocations: 180.8 kB / 371.6 MB, free: 3.402 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.853/1.853, allocations: 205.1 MB / 0.6309 GB, free: 11.78 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008598/0.0008599, allocations: 93.77 kB / 0.745 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.526e-05/3.53e-05, allocations: 4 kB / 0.8663 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2946, allocations: 116.3 MB / 0.9798 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8534/1.148, allocations: 139.2 MB / 1.116 GB, free: 44.59 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000213/1.148, allocations: 72.34 kB / 1.116 GB, free: 44.57 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.006277/1.155, allocations: 2.225 MB / 1.118 GB, free: 43.23 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.354e-06/1.155, allocations: 0 / 1.118 GB, free: 43.23 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.132e-05/1.155, allocations: 0 / 1.118 GB, free: 43.23 MB / 0.7448 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.0004789/1.155, allocations: 415.1 kB / 1.118 GB, free: 42.8 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/1.155, allocations: 12.03 kB / 1.118 GB, free: 42.79 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.249e-05/1.155, allocations: 8.688 kB / 1.118 GB, free: 42.79 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.93e-05/1.155, allocations: 170.9 kB / 1.119 GB, free: 42.58 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/1.155, allocations: 4 kB / 1.119 GB, free: 42.57 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.557e-05/1.155, allocations: 11.2 kB / 1.119 GB, free: 42.57 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/1.156, allocations: 56.16 kB / 1.119 GB, free: 42.52 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/1.156, allocations: 3.938 kB / 1.119 GB, free: 42.52 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/1.156, allocations: 4.5 kB / 1.119 GB, free: 42.52 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/1.156, allocations: 0 / 1.119 GB, free: 42.52 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.155e-05/1.156, allocations: 24.98 kB / 1.119 GB, free: 42.5 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003904/1.156, allocations: 328.4 kB / 1.119 GB, free: 42.2 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.077e-05/1.156, allocations: 30.39 kB / 1.119 GB, free: 42.17 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.475e-05/1.156, allocations: 31.92 kB / 1.119 GB, free: 42.14 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/1.156, allocations: 0 / 1.119 GB, free: 42.14 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001223/1.156, allocations: 70.72 kB / 1.119 GB, free: 42.08 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/1.156, allocations: 3.828 kB / 1.119 GB, free: 42.08 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0001969/1.156, allocations: 73.38 kB / 1.119 GB, free: 42.02 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/1.157, allocations: 51.41 kB / 1.119 GB, free: 41.95 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.529e-05/1.157, allocations: 120.8 kB / 1.119 GB, free: 41.84 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/1.157, allocations: 32.91 kB / 1.119 GB, free: 41.8 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.99e-05/1.157, allocations: 91.83 kB / 1.119 GB, free: 41.71 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/1.157, allocations: 15.69 kB / 1.119 GB, free: 41.7 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.11e-05/1.157, allocations: 0 / 1.119 GB, free: 41.7 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.956e-05/1.157, allocations: 326 kB / 1.12 GB, free: 41.38 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.811e-05/1.157, allocations: 34.09 kB / 1.12 GB, free: 41.36 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.711e-05/1.157, allocations: 54.61 kB / 1.12 GB, free: 41.32 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.973e-05/1.157, allocations: 67.48 kB / 1.12 GB, free: 41.26 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/1.157, allocations: 0 / 1.12 GB, free: 41.26 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002562/1.157, allocations: 167.3 kB / 1.12 GB, free: 41.12 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.333e-05/1.157, allocations: 29.7 kB / 1.12 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/1.157, allocations: 4 kB / 1.12 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/1.157, allocations: 0.5625 kB / 1.12 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/1.158, allocations: 30.48 kB / 1.12 GB, free: 41.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/1.158, allocations: 3.938 kB / 1.12 GB, free: 41.06 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002316/1.158, allocations: 59.31 kB / 1.12 GB, free: 41.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.192e-05/1.158, allocations: 8 kB / 1.12 GB, free: 41.01 MB / 0.7448 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 () * 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 5.424e-05/1.158, allocations: 114.4 kB / 1.12 GB, free: 40.9 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.34e-05/1.158, allocations: 8.562 kB / 1.12 GB, free: 40.89 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.445e-05/1.158, allocations: 11.7 kB / 1.12 GB, free: 40.89 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/1.158, allocations: 0 / 1.12 GB, free: 40.89 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/1.158, allocations: 0 / 1.12 GB, free: 40.89 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/1.158, allocations: 4 kB / 1.12 GB, free: 40.89 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.474e-05/1.158, allocations: 187.5 kB / 1.121 GB, free: 40.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/1.158, allocations: 0.7969 kB / 1.121 GB, free: 40.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/1.158, allocations: 27.45 kB / 1.121 GB, free: 40.66 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/1.158, allocations: 0 / 1.121 GB, free: 40.66 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/1.158, allocations: 0 / 1.121 GB, free: 40.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/1.158, allocations: 0.75 kB / 1.121 GB, free: 40.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/1.158, allocations: 0.7031 kB / 1.121 GB, free: 40.66 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/1.158, allocations: 108.6 kB / 1.121 GB, free: 40.55 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.42e-05/1.158, allocations: 96.98 kB / 1.121 GB, free: 40.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/1.158, allocations: 0 / 1.121 GB, free: 40.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.916e-05/1.159, allocations: 19.36 kB / 1.121 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.235e-05/1.159, allocations: 7.375 kB / 1.121 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/1.159, allocations: 1.594 kB / 1.121 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.345e-05/1.159, allocations: 96.8 kB / 1.121 GB, free: 40.34 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.159, allocations: 0 / 1.121 GB, free: 40.34 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001941/1.159, allocations: 28.5 kB / 1.121 GB, free: 40.32 MB / 0.7448 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 () * 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.0001432/1.159, allocations: 115.8 kB / 1.121 GB, free: 40.2 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001867/1.159, allocations: 142 kB / 1.121 GB, free: 40.09 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/1.159, allocations: 0 / 1.121 GB, free: 40.09 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.759e-05/1.159, allocations: 24.12 kB / 1.121 GB, free: 40.07 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001644/1.159, allocations: 16.53 kB / 1.121 GB, free: 40.06 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002276/1.16, allocations: 105.4 kB / 1.121 GB, free: 39.96 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001311/1.16, allocations: 0.691 MB / 1.122 GB, free: 39.25 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.839e-05/1.16, allocations: 6.688 kB / 1.122 GB, free: 39.24 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.467e-05/1.16, allocations: 11.44 kB / 1.122 GB, free: 39.23 MB / 0.7448 GB Notification: Performance of SimCode: time 3.21e-07/1.16, allocations: 0 / 1.122 GB, free: 39.23 MB / 0.7448 GB Notification: Performance of Templates: time 0.003246/1.163, allocations: 1.335 MB / 1.123 GB, free: 38.52 MB / 0.7448 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)