Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.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.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009017/0.0009018, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0009374/0.0009372, allocations: 172.7 kB / 15.95 MB, free: 208 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.437/1.437, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.695/1.695, allocations: 292.7 MB / 0.5499 GB, free: 14.58 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.0006385/0.0006391, allocations: 21.69 kB / 0.6737 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2428, allocations: 116.3 MB / 0.7873 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch): time 0.0009343/0.2437, allocations: 438.3 kB / 0.7877 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001698/0.2455, allocations: 1.247 MB / 0.7889 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.008e-05/0.2456, allocations: 0 / 0.7889 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.128e-05/0.2456, allocations: 3.938 kB / 0.7889 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.2457, allocations: 15.86 kB / 0.789 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000867/0.2466, allocations: 273.3 kB / 0.7892 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002473/0.2468, allocations: 191.6 kB / 0.7894 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.874e-05/0.247, allocations: 24.09 kB / 0.7894 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001682/0.2471, allocations: 87.86 kB / 0.7895 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.2473, allocations: 67.78 kB / 0.7896 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.318e-05/0.2473, allocations: 12 kB / 0.7896 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.121e-05/0.2474, allocations: 31.98 kB / 0.7896 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.687e-05/0.2474, allocations: 15.97 kB / 0.7896 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.404e-05/0.2475, allocations: 49.64 kB / 0.7897 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.2477, allocations: 143.9 kB / 0.7898 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2477, allocations: 0 / 0.7898 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2477, allocations: 0 / 0.7898 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.2478, allocations: 4 kB / 0.7898 GB, free: 9.328 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.0005083/0.2483, allocations: 456.2 kB / 0.7902 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.2483, allocations: 8.031 kB / 0.7903 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.958e-05/0.2484, allocations: 15.84 kB / 0.7903 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.2485, allocations: 179 kB / 0.7904 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.071e-05/0.2485, allocations: 7.938 kB / 0.7904 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.281e-05/0.2486, allocations: 16 kB / 0.7905 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.2487, allocations: 61.61 kB / 0.7905 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.2487, allocations: 0 / 0.7905 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.2488, allocations: 7.969 kB / 0.7905 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.2488, allocations: 0 / 0.7905 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.643e-05/0.2488, allocations: 20 kB / 0.7905 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007305/0.2496, allocations: 428.4 kB / 0.791 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.2497, allocations: 30.52 kB / 0.791 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.385e-05/0.2498, allocations: 28.94 kB / 0.791 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.2498, allocations: 0 / 0.791 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000225/0.25, allocations: 91.34 kB / 0.7911 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.432e-06/0.25, allocations: 8 kB / 0.7911 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0003575/0.2504, allocations: 133.5 kB / 0.7912 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.278e-05/0.2505, allocations: 63.34 kB / 0.7913 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.2506, allocations: 140.8 kB / 0.7914 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.968e-05/0.2507, allocations: 29.7 kB / 0.7915 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.805e-05/0.2507, allocations: 104 kB / 0.7916 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/0.2508, allocations: 15.88 kB / 0.7916 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.633e-05/0.2508, allocations: 8 kB / 0.7916 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.251, allocations: 326.8 kB / 0.7919 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001842/0.2511, allocations: 83.95 kB / 0.792 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000201/0.2514, allocations: 134 kB / 0.7921 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002294/0.2516, allocations: 169.1 kB / 0.7923 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.2516, allocations: 0 / 0.7923 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000598/0.2522, allocations: 374.4 kB / 0.7926 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.544e-05/0.2523, allocations: 101.1 kB / 0.7927 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.2523, allocations: 0 / 0.7927 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/0.2524, allocations: 4.375 kB / 0.7927 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.221e-05/0.2524, allocations: 4 kB / 0.7927 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.2524, allocations: 4.141 kB / 0.7927 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000542/0.253, allocations: 119.7 kB / 0.7928 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.466e-05/0.253, allocations: 23.92 kB / 0.7929 GB, free: 5.887 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001413/0.2532, allocations: 125.8 kB / 0.793 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.988e-05/0.2532, allocations: 23.83 kB / 0.793 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.238e-05/0.2532, allocations: 8.375 kB / 0.793 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.2532, allocations: 0 / 0.793 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.2533, allocations: 0 / 0.793 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.2533, allocations: 3.953 kB / 0.793 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001817/0.2535, allocations: 197.5 kB / 0.7932 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2535, allocations: 4 kB / 0.7932 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.147e-05/0.2535, allocations: 0 / 0.7932 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.2535, allocations: 0 / 0.7932 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.2535, allocations: 4 kB / 0.7932 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.2535, allocations: 0 / 0.7932 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.2535, allocations: 7.938 kB / 0.7932 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001914/0.2537, allocations: 141 kB / 0.7934 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.195e-05/0.2538, allocations: 81.02 kB / 0.7934 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.2538, allocations: 3.938 kB / 0.7934 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.241e-05/0.2538, allocations: 4 kB / 0.7934 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.81e-05/0.2539, allocations: 11.98 kB / 0.7935 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.2539, allocations: 7.984 kB / 0.7935 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.54e-05/0.254, allocations: 95.27 kB / 0.7936 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.6e-07/0.254, allocations: 0 / 0.7936 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002756/0.2543, allocations: 48 kB / 0.7936 GB, free: 5.039 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001939/0.2545, allocations: 103.2 kB / 0.7937 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000501/0.255, allocations: 366 kB / 0.794 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/0.255, allocations: 4 kB / 0.794 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.32e-05/0.2551, allocations: 36.36 kB / 0.7941 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002765/0.2554, allocations: 45.38 kB / 0.7941 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004022/0.2558, allocations: 203.4 kB / 0.7943 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.2561, allocations: 0.7004 MB / 0.795 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.707e-05/0.2561, allocations: 8.422 kB / 0.795 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.039e-05/0.2561, allocations: 11.44 kB / 0.795 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of SimCode: time 6.91e-07/0.2561, allocations: 4 kB / 0.795 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of Templates: time 0.00568/0.2618, allocations: 2.386 MB / 0.7974 GB, free: 1.121 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe 2>&1) Environment - environmentSimulation: