Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.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.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009048/0.0009047, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.0009898/0.0009901, allocations: 168.7 kB / 15.95 MB, free: 204 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.442/1.442, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.642/1.642, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0005718/0.0005718, allocations: 20.12 kB / 0.6737 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2577, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.0009406/0.2587, allocations: 450.1 kB / 0.7877 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001001/0.2597, allocations: 0.8205 MB / 0.7885 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.874e-05/0.2598, allocations: 0 / 0.7885 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.479e-05/0.2598, allocations: 0 / 0.7885 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.19e-05/0.2599, allocations: 7.922 kB / 0.7885 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000152/0.2601, allocations: 15.98 kB / 0.7885 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.505e-05/0.2602, allocations: 35.92 kB / 0.7886 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.55e-05/0.2603, allocations: 23.95 kB / 0.7886 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.668e-05/0.2603, allocations: 7.938 kB / 0.7886 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.626e-05/0.2604, allocations: 19.92 kB / 0.7886 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.2604, allocations: 0 / 0.7886 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.102e-05/0.2604, allocations: 4 kB / 0.7886 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.47e-05/0.2604, allocations: 7.984 kB / 0.7886 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.924e-05/0.2605, allocations: 33.64 kB / 0.7887 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.082e-05/0.2605, allocations: 27.92 kB / 0.7887 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.2606, allocations: 3.938 kB / 0.7887 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2606, allocations: 0 / 0.7887 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.2606, allocations: 0 / 0.7887 GB, free: 10.46 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.0005874/0.2612, allocations: 391.5 kB / 0.7891 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.2612, allocations: 8.031 kB / 0.7891 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.793e-05/0.2613, allocations: 11.84 kB / 0.7891 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.2614, allocations: 171 kB / 0.7893 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.2614, allocations: 4 kB / 0.7893 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.2614, allocations: 4 kB / 0.7893 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002031/0.2616, allocations: 73.61 kB / 0.7893 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.2617, allocations: 0 / 0.7893 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.2617, allocations: 0 / 0.7893 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.2617, allocations: 0 / 0.7893 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001713/0.2619, allocations: 55.95 kB / 0.7894 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005362/0.2624, allocations: 301.8 kB / 0.7897 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002411/0.2627, allocations: 62.48 kB / 0.7897 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.967e-05/0.2628, allocations: 36.98 kB / 0.7898 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.2628, allocations: 0 / 0.7898 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.2628, allocations: 30.56 kB / 0.7898 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.2628, allocations: 0 / 0.7898 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0003447/0.2632, allocations: 105.6 kB / 0.7899 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.2632, allocations: 59.34 kB / 0.79 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.078e-05/0.2633, allocations: 117.8 kB / 0.7901 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.2633, allocations: 25.7 kB / 0.7901 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.41e-05/0.2634, allocations: 88.12 kB / 0.7902 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.357e-05/0.2634, allocations: 19.88 kB / 0.7902 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-06/0.2634, allocations: 0 / 0.7902 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001776/0.2636, allocations: 310.8 kB / 0.7905 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.648e-05/0.2637, allocations: 27.97 kB / 0.7905 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.335e-05/0.2638, allocations: 27.98 kB / 0.7906 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.769e-05/0.2639, allocations: 23.98 kB / 0.7906 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2639, allocations: 0 / 0.7906 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001962/0.2641, allocations: 89.66 kB / 0.7907 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.2641, allocations: 7.984 kB / 0.7907 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.2641, allocations: 7.938 kB / 0.7907 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.2641, allocations: 3.938 kB / 0.7907 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.211e-05/0.2642, allocations: 12 kB / 0.7907 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.2642, allocations: 384 / 0.7907 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.2643, allocations: 31.86 kB / 0.7907 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.2643, allocations: 8 kB / 0.7907 GB, free: 8.172 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 7.828e-05/0.2644, allocations: 106.5 kB / 0.7908 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.55e-05/0.2645, allocations: 11.84 kB / 0.7908 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002385/0.2647, allocations: 97.86 kB / 0.7909 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.2647, allocations: 0 / 0.7909 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.2647, allocations: 4 kB / 0.7909 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.2647, allocations: 0 / 0.7909 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/0.2649, allocations: 177.5 kB / 0.7911 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2649, allocations: 0 / 0.7911 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.767e-05/0.265, allocations: 12 kB / 0.7911 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.265, allocations: 0 / 0.7911 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.265, allocations: 0 / 0.7911 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.265, allocations: 3.984 kB / 0.7911 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.265, allocations: 0 / 0.7911 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002325/0.2652, allocations: 183.4 kB / 0.7913 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.072e-05/0.2653, allocations: 81.11 kB / 0.7914 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.2653, allocations: 0 / 0.7914 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.2654, allocations: 19.97 kB / 0.7914 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.807e-05/0.2655, allocations: 11.98 kB / 0.7914 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.2655, allocations: 4 kB / 0.7914 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.715e-05/0.2656, allocations: 91.22 kB / 0.7915 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2656, allocations: 0 / 0.7915 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002058/0.2658, allocations: 8 kB / 0.7915 GB, free: 7.27 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: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0001232/0.2659, allocations: 103.2 kB / 0.7916 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002057/0.2661, allocations: 59.95 kB / 0.7917 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2661, allocations: 0 / 0.7917 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.655e-05/0.2662, allocations: 27.98 kB / 0.7917 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002959/0.2665, allocations: 7.891 kB / 0.7917 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003093/0.2668, allocations: 144.6 kB / 0.7918 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/0.2671, allocations: 0.6848 MB / 0.7925 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.717e-05/0.2672, allocations: 3.906 kB / 0.7925 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.14e-05/0.2672, allocations: 11.44 kB / 0.7925 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of SimCode: time 3.81e-07/0.2672, allocations: 0 / 0.7925 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of Templates: time 0.002886/0.2701, allocations: 0.6437 MB / 0.7931 GB, free: 5.543 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1) Environment - environmentSimulation: