Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.202/2.202, allocations: 251.1 MB / 266.7 MB, free: 11.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001376/0.001376, allocations: 182.6 kB / 326.2 MB, free: 2.832 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.445/2.445, allocations: 205.4 MB / 0.5772 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009777/0.0009773, allocations: 92.48 kB / 0.6817 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005019/0.0005021, allocations: 14.81 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.218, allocations: 106.3 MB / 0.8995 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2704/0.4884, allocations: 131.5 MB / 1.028 GB, free: 13.83 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/0.4888, allocations: 75.95 kB / 1.028 GB, free: 13.76 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004237/0.493, allocations: 0.9594 MB / 1.029 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of FrontEnd: time 6.062e-06/0.4931, allocations: 0 / 1.029 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.4931, allocations: 3.938 kB / 1.029 GB, free: 12.79 MB / 0.6823 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.0007558/0.4939, allocations: 375.4 kB / 1.029 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.4939, allocations: 8.031 kB / 1.029 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.801e-05/0.494, allocations: 8.844 kB / 1.029 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.4941, allocations: 176.3 kB / 1.029 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.4942, allocations: 384 / 1.029 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.4942, allocations: 8.312 kB / 1.029 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002849/0.4945, allocations: 66.23 kB / 1.03 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.4945, allocations: 192 / 1.03 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.4945, allocations: 7.938 kB / 1.03 GB, free: 12.06 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.4945, allocations: 0 / 1.03 GB, free: 12.06 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003333/0.4949, allocations: 55.89 kB / 1.03 GB, free: 12 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006975/0.4956, allocations: 304.7 kB / 1.03 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003637/0.496, allocations: 58.61 kB / 1.03 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001746/0.4962, allocations: 28.94 kB / 1.03 GB, free: 11.56 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.038e-05/0.4962, allocations: 11.92 kB / 1.03 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.4962, allocations: 38.55 kB / 1.03 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.843e-06/0.4963, allocations: 4 kB / 1.03 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0005908/0.4969, allocations: 101.6 kB / 1.03 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/0.4969, allocations: 55.41 kB / 1.03 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.497, allocations: 113.8 kB / 1.03 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.4971, allocations: 25.7 kB / 1.03 GB, free: 11.17 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.606e-05/0.4972, allocations: 96.03 kB / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.041e-05/0.4972, allocations: 3.906 kB / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-06/0.4972, allocations: 384 / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.4974, allocations: 318.8 kB / 1.031 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.4975, allocations: 35.91 kB / 1.031 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001955/0.4977, allocations: 27.98 kB / 1.031 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.4979, allocations: 23.92 kB / 1.031 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4979, allocations: 4 kB / 1.031 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003898/0.4983, allocations: 85.66 kB / 1.031 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.4984, allocations: 5.562 kB / 1.031 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.4984, allocations: 0 / 1.031 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.4984, allocations: 7.984 kB / 1.031 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.4985, allocations: 8 kB / 1.031 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.4986, allocations: 4 kB / 1.031 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/0.4988, allocations: 27.81 kB / 1.031 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.4988, allocations: 4 kB / 1.031 GB, free: 10.52 MB / 0.6823 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 0.0001038/0.4989, allocations: 117.7 kB / 1.031 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.455e-05/0.499, allocations: 4 kB / 1.031 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004189/0.4994, allocations: 89.55 kB / 1.031 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.453e-06/0.4994, allocations: 7.938 kB / 1.031 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.4994, allocations: 0 / 1.031 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.4994, allocations: 0 / 1.031 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002297/0.4997, allocations: 173.7 kB / 1.031 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.4997, allocations: 3.984 kB / 1.031 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.4998, allocations: 12 kB / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.4998, allocations: 0 / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.4999, allocations: 0 / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.4999, allocations: 0 / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.4999, allocations: 3.984 kB / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004329/0.5003, allocations: 195.3 kB / 1.032 GB, free: 9.836 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.934e-05/0.5004, allocations: 77.11 kB / 1.032 GB, free: 9.742 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.5004, allocations: 0 / 1.032 GB, free: 9.742 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002492/0.5007, allocations: 23.97 kB / 1.032 GB, free: 9.719 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.983e-05/0.5007, allocations: 8.406 kB / 1.032 GB, free: 9.711 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.5008, allocations: 4 kB / 1.032 GB, free: 9.707 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.12e-05/0.5008, allocations: 83.28 kB / 1.032 GB, free: 9.625 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.71e-07/0.5008, allocations: 0 / 1.032 GB, free: 9.625 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002689/0.5011, allocations: 8 kB / 1.032 GB, free: 9.617 MB / 0.6823 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.0001568/0.5013, allocations: 107.2 kB / 1.032 GB, free: 9.504 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004149/0.5017, allocations: 64.17 kB / 1.032 GB, free: 9.441 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.5017, allocations: 4 kB / 1.032 GB, free: 9.438 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001706/0.5019, allocations: 23.98 kB / 1.032 GB, free: 9.414 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.5023, allocations: 11.88 kB / 1.032 GB, free: 9.402 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003905/0.5027, allocations: 140.6 kB / 1.032 GB, free: 9.238 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.503, allocations: 0.6809 MB / 1.033 GB, free: 8.531 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.714e-05/0.5031, allocations: 7.984 kB / 1.033 GB, free: 8.523 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.347e-05/0.5031, allocations: 7.438 kB / 1.033 GB, free: 8.516 MB / 0.6823 GB Notification: Performance of SimCode: time 6.81e-07/0.5031, allocations: 4 kB / 1.033 GB, free: 8.512 MB / 0.6823 GB Notification: Performance of Templates: time 0.003579/0.5067, allocations: 0.6403 MB / 1.033 GB, free: 7.879 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1)