Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.327/2.327, allocations: 251.3 MB / 266.2 MB, free: 11.55 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002006/0.002006, allocations: 179.5 kB / 325.8 MB, free: 2.812 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.632/2.632, allocations: 205.4 MB / 0.5767 GB, free: 20.72 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000948/0.0009479, allocations: 88.38 kB / 0.6812 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000479/0.0004795, allocations: 14.12 kB / 0.7953 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2302, allocations: 106.3 MB / 0.8991 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch): time 0.002395/0.2326, allocations: 1.138 MB / 0.9002 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007199/0.2334, allocations: 225.5 kB / 0.9004 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.659e-05/0.2335, allocations: 0 / 0.9004 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.845e-05/0.2336, allocations: 4 kB / 0.9004 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001436/0.2337, allocations: 19.84 kB / 0.9004 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001896/0.2339, allocations: 15.98 kB / 0.9004 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001516/0.2341, allocations: 71.72 kB / 0.9005 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.2343, allocations: 20.16 kB / 0.9005 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.931e-05/0.2344, allocations: 27.86 kB / 0.9005 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.071e-05/0.2345, allocations: 31.89 kB / 0.9006 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.468e-05/0.2345, allocations: 11.88 kB / 0.9006 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.2e-05/0.2346, allocations: 4 kB / 0.9006 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.5e-05/0.2346, allocations: 11.98 kB / 0.9006 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.61e-05/0.2347, allocations: 37.64 kB / 0.9006 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.2348, allocations: 51.89 kB / 0.9007 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.2348, allocations: 0 / 0.9007 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.984e-06/0.2348, allocations: 0 / 0.9007 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.2348, allocations: 0 / 0.9007 GB, free: 63.76 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0009298/0.2358, allocations: 395.5 kB / 0.9011 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.2358, allocations: 8.031 kB / 0.9011 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.862e-05/0.2359, allocations: 8.844 kB / 0.9011 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.2361, allocations: 188.2 kB / 0.9012 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/0.2361, allocations: 384 / 0.9012 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/0.2362, allocations: 8.375 kB / 0.9013 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.2364, allocations: 62.17 kB / 0.9013 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.2364, allocations: 7.938 kB / 0.9013 GB, free: 63 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.2365, allocations: 0 / 0.9013 GB, free: 63 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.2365, allocations: 4 kB / 0.9013 GB, free: 63 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001499/0.2366, allocations: 31.98 kB / 0.9014 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006315/0.2373, allocations: 304.7 kB / 0.9016 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/0.2375, allocations: 50.56 kB / 0.9017 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.82e-05/0.2376, allocations: 24.84 kB / 0.9017 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.2377, allocations: 4 kB / 0.9017 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003025/0.238, allocations: 91.25 kB / 0.9018 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 3.206e-06/0.238, allocations: 0 / 0.9018 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0004618/0.2385, allocations: 113.6 kB / 0.9019 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.2385, allocations: 51.41 kB / 0.902 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.2387, allocations: 137.7 kB / 0.9021 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.2387, allocations: 25.7 kB / 0.9021 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.008e-05/0.2388, allocations: 96.06 kB / 0.9022 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.538e-05/0.2389, allocations: 27.8 kB / 0.9022 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.178e-05/0.2389, allocations: 4 kB / 0.9022 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.724e-05/0.239, allocations: 322.8 kB / 0.9026 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.089e-05/0.2391, allocations: 16 kB / 0.9026 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.2392, allocations: 57.67 kB / 0.9026 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.527e-05/0.2394, allocations: 19.94 kB / 0.9026 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.2394, allocations: 0 / 0.9026 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003225/0.2397, allocations: 101.5 kB / 0.9027 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.2398, allocations: 4 kB / 0.9027 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.2398, allocations: 4.469 kB / 0.9027 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.2398, allocations: 0 / 0.9027 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.24, allocations: 16.03 kB / 0.9028 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.24, allocations: 0 / 0.9028 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003028/0.2403, allocations: 27.97 kB / 0.9028 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.2404, allocations: 7.938 kB / 0.9028 GB, free: 61.36 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,booPul3.y,$PRE.booPul3.pulseStart,booPul3.pulseStart,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): 13 * Array equations: 0 * Algorithm blocks: 0 * 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.0001276/0.2405, allocations: 117.8 kB / 0.9029 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.312e-05/0.2405, allocations: 11.84 kB / 0.9029 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.642e-05/0.2406, allocations: 20.38 kB / 0.9029 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.2406, allocations: 3.984 kB / 0.9029 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.2407, allocations: 0 / 0.9029 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.2407, allocations: 3.984 kB / 0.9029 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002561/0.241, allocations: 189.6 kB / 0.9031 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.241, allocations: 0 / 0.9031 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.554e-05/0.241, allocations: 4 kB / 0.9031 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.241, allocations: 0 / 0.9031 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.2411, allocations: 0 / 0.9031 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.2411, allocations: 0 / 0.9031 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.2411, allocations: 4 kB / 0.9031 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003301/0.2415, allocations: 128.9 kB / 0.9033 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.771e-05/0.2415, allocations: 84.95 kB / 0.9033 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.634e-05/0.2416, allocations: 4 kB / 0.9033 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000294/0.2419, allocations: 23.97 kB / 0.9034 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.589e-05/0.242, allocations: 19.97 kB / 0.9034 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.242, allocations: 0 / 0.9034 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.98e-05/0.2422, allocations: 103.6 kB / 0.9035 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.42e-07/0.2422, allocations: 0 / 0.9035 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004513/0.2426, allocations: 20 kB / 0.9035 GB, free: 60.54 MB / 0.6042 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 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,booPul3.y,booPul3.pulseStart,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.000168/0.2428, allocations: 100.7 kB / 0.9036 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003007/0.2431, allocations: 67.86 kB / 0.9037 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.2432, allocations: 4.188 kB / 0.9037 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001505/0.2433, allocations: 32.27 kB / 0.9037 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005501/0.2439, allocations: 36.3 kB / 0.9037 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006139/0.2445, allocations: 199 kB / 0.9039 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001746/0.2447, allocations: 0.6926 MB / 0.9046 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.886e-05/0.2448, allocations: 4.562 kB / 0.9046 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.648e-05/0.2449, allocations: 11.44 kB / 0.9046 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of SimCode: time 9.11e-07/0.2449, allocations: 0 / 0.9046 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of Templates: time 0.006195/0.2511, allocations: 1.039 MB / 0.9056 GB, free: 58.3 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe 2>&1)