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.Switch.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.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.51/2.51, allocations: 251.3 MB / 266.2 MB, free: 11.5 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.001326/0.001325, allocations: 182.3 kB / 325.8 MB, free: 2.766 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.949/2.949, allocations: 205.4 MB / 0.5767 GB, free: 21.14 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.00139/0.001389, allocations: 86.39 kB / 0.6812 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006492/0.0006494, allocations: 17.41 kB / 0.7953 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2375, allocations: 106.3 MB / 0.899 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001805/0.2393, allocations: 1.198 MB / 0.9002 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000496/0.2399, allocations: 201.4 kB / 0.9004 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.736e-05/0.2399, allocations: 0 / 0.9004 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.421e-05/0.24, allocations: 3.938 kB / 0.9004 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.916e-05/0.2401, allocations: 15.91 kB / 0.9004 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001568/0.2403, allocations: 15.98 kB / 0.9004 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.2404, allocations: 75.66 kB / 0.9005 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.2405, allocations: 15.92 kB / 0.9005 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.597e-05/0.2406, allocations: 27.86 kB / 0.9006 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.25e-05/0.2407, allocations: 27.89 kB / 0.9006 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.353e-05/0.2407, allocations: 0 / 0.9006 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.717e-05/0.2407, allocations: 4 kB / 0.9006 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.871e-05/0.2407, allocations: 11.92 kB / 0.9006 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.469e-05/0.2408, allocations: 33.7 kB / 0.9006 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.372e-05/0.2409, allocations: 43.91 kB / 0.9007 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.2409, allocations: 0 / 0.9007 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2409, allocations: 0 / 0.9007 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.2409, allocations: 0 / 0.9007 GB, free: 64.17 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000719/0.2417, allocations: 395.3 kB / 0.901 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.2417, allocations: 12.03 kB / 0.9011 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.434e-05/0.2418, allocations: 4.844 kB / 0.9011 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.2419, allocations: 172.3 kB / 0.9012 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.2419, allocations: 8.375 kB / 0.9012 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.242, allocations: 4.375 kB / 0.9012 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000377/0.2423, allocations: 90.19 kB / 0.9013 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.2424, allocations: 4.188 kB / 0.9013 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.2424, allocations: 7.938 kB / 0.9013 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.2424, allocations: 0 / 0.9013 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005408/0.243, allocations: 95.91 kB / 0.9014 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004869/0.2435, allocations: 308.7 kB / 0.9017 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003174/0.2438, allocations: 62.55 kB / 0.9018 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002756/0.2441, allocations: 56.94 kB / 0.9018 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.2441, allocations: 0 / 0.9018 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004225/0.2446, allocations: 103.4 kB / 0.9019 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 2.625e-06/0.2446, allocations: 3.938 kB / 0.9019 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0009696/0.2456, allocations: 185.5 kB / 0.9021 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.2456, allocations: 55.41 kB / 0.9022 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.2457, allocations: 126.1 kB / 0.9023 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.2458, allocations: 25.7 kB / 0.9023 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.458e-05/0.2458, allocations: 96.08 kB / 0.9024 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-05/0.2459, allocations: 11.81 kB / 0.9024 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.424e-06/0.2459, allocations: 0 / 0.9024 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.246, allocations: 322.8 kB / 0.9027 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002763/0.2463, allocations: 55.95 kB / 0.9028 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002804/0.2466, allocations: 57.75 kB / 0.9028 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002728/0.2468, allocations: 59.89 kB / 0.9029 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.2469, allocations: 0 / 0.9029 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006214/0.2475, allocations: 137.5 kB / 0.903 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.2475, allocations: 11.94 kB / 0.903 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.2475, allocations: 0 / 0.903 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.2476, allocations: 8.016 kB / 0.903 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/0.2478, allocations: 27.91 kB / 0.9031 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.2478, allocations: 4 kB / 0.9031 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001962/0.248, allocations: 19.98 kB / 0.9031 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.2481, allocations: 4 kB / 0.9031 GB, free: 61.46 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 9.085e-05/0.2482, allocations: 117.8 kB / 0.9032 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.353e-05/0.2482, allocations: 11.89 kB / 0.9032 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.597e-05/0.2482, allocations: 8.375 kB / 0.9032 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.2482, allocations: 4 kB / 0.9032 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.2483, allocations: 0 / 0.9032 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.2483, allocations: 0 / 0.9032 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.2484, allocations: 185.6 kB / 0.9034 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2485, allocations: 0 / 0.9034 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001719/0.2486, allocations: 24.3 kB / 0.9034 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.2487, allocations: 0 / 0.9034 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.2487, allocations: 4 kB / 0.9034 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.2487, allocations: 4 kB / 0.9034 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.2487, allocations: 0 / 0.9034 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006283/0.2493, allocations: 172.8 kB / 0.9036 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.425e-05/0.2494, allocations: 88.95 kB / 0.9037 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.2494, allocations: 4 kB / 0.9037 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000194/0.2496, allocations: 23.97 kB / 0.9037 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.294e-05/0.2497, allocations: 15.92 kB / 0.9037 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.2497, allocations: 0 / 0.9037 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.934e-05/0.2498, allocations: 99.31 kB / 0.9038 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2498, allocations: 0 / 0.9038 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002653/0.2501, allocations: 20 kB / 0.9038 GB, free: 60.59 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: 3 ($whenCondition1,booPul.y,booPul.pulseStart) * 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.0001199/0.2502, allocations: 96.5 kB / 0.9039 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006335/0.2509, allocations: 107.9 kB / 0.904 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2509, allocations: 0 / 0.904 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003062/0.2512, allocations: 60.02 kB / 0.9041 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.0003108/0.2515, allocations: 19.92 kB / 0.9041 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004197/0.252, allocations: 178.4 kB / 0.9043 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001265/0.2521, allocations: 0.6926 MB / 0.905 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.5e-05/0.2522, allocations: 4 kB / 0.905 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.591e-05/0.2522, allocations: 11.44 kB / 0.905 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of SimCode: time 9.12e-07/0.2523, allocations: 0 / 0.905 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of Templates: time 0.003951/0.2562, allocations: 0.819 MB / 0.9058 GB, free: 58.56 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1)