Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.7/1.7, allocations: 293 MB / 309 MB, free: 4.84 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001039/0.001039, allocations: 192.1 kB / 378.7 MB, free: 1.02 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.63/1.63, allocations: 205.4 MB / 0.6383 GB, free: 9.18 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000745/0.0007449, allocations: 91.25 kB / 0.7527 GB, free: 62.31 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003908/0.0003909, allocations: 16 kB / 0.8768 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2624, allocations: 116.4 MB / 0.9905 GB, free: 6.004 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7304/0.9929, allocations: 139.4 MB / 1.127 GB, free: 34.64 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003758/0.9934, allocations: 72.22 kB / 1.127 GB, free: 34.58 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.006028/0.9994, allocations: 2.101 MB / 1.129 GB, free: 33.06 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.777e-06/0.9995, allocations: 4 kB / 1.129 GB, free: 33.05 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.806e-06/0.9995, allocations: 0 / 1.129 GB, free: 33.05 MB / 0.7292 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.0004575/1, allocations: 401.2 kB / 1.129 GB, free: 32.62 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/1, allocations: 15.97 kB / 1.129 GB, free: 32.61 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.251e-05/1, allocations: 10.06 kB / 1.129 GB, free: 32.6 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.543e-05/1, allocations: 172.7 kB / 1.129 GB, free: 32.39 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/1, allocations: 15.92 kB / 1.129 GB, free: 32.38 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/1, allocations: 8.375 kB / 1.129 GB, free: 32.38 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/1, allocations: 69.7 kB / 1.129 GB, free: 32.31 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/1, allocations: 192 / 1.129 GB, free: 32.31 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/1, allocations: 3.938 kB / 1.129 GB, free: 32.31 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/1, allocations: 0 / 1.129 GB, free: 32.31 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001682/1.001, allocations: 59.56 kB / 1.129 GB, free: 32.26 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004451/1.001, allocations: 323.4 kB / 1.13 GB, free: 31.94 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/1.001, allocations: 69.66 kB / 1.13 GB, free: 31.87 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.653e-05/1.001, allocations: 40.77 kB / 1.13 GB, free: 31.83 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/1.001, allocations: 4 kB / 1.13 GB, free: 31.83 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002691/1.002, allocations: 97.72 kB / 1.13 GB, free: 31.74 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 2.665e-06/1.002, allocations: 0.75 kB / 1.13 GB, free: 31.74 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0004061/1.002, allocations: 155.6 kB / 1.13 GB, free: 31.6 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/1.002, allocations: 59.02 kB / 1.13 GB, free: 31.53 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.305e-05/1.002, allocations: 117.2 kB / 1.13 GB, free: 31.41 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/1.002, allocations: 33.7 kB / 1.13 GB, free: 31.37 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.188e-05/1.002, allocations: 92.41 kB / 1.13 GB, free: 31.28 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.752e-05/1.002, allocations: 15.81 kB / 1.13 GB, free: 31.27 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.658e-06/1.002, allocations: 3.938 kB / 1.13 GB, free: 31.26 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.192e-05/1.002, allocations: 326.3 kB / 1.131 GB, free: 30.94 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/1.003, allocations: 54.31 kB / 1.131 GB, free: 30.89 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/1.003, allocations: 86.66 kB / 1.131 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002331/1.003, allocations: 160.3 kB / 1.131 GB, free: 30.64 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/1.003, allocations: 0.5625 kB / 1.131 GB, free: 30.64 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003733/1.003, allocations: 220.3 kB / 1.131 GB, free: 30.44 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.247e-05/1.003, allocations: 38.61 kB / 1.131 GB, free: 30.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/1.003, allocations: 4 kB / 1.131 GB, free: 30.39 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/1.003, allocations: 0 / 1.131 GB, free: 30.39 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.346e-05/1.004, allocations: 24.03 kB / 1.131 GB, free: 30.37 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/1.004, allocations: 0.9375 kB / 1.131 GB, free: 30.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001849/1.004, allocations: 53.34 kB / 1.131 GB, free: 30.33 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/1.004, allocations: 8.625 kB / 1.131 GB, free: 30.32 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul.y,booPul.y,$PRE.change.u,change.u,change.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 8.328e-05/1.004, allocations: 133.7 kB / 1.131 GB, free: 30.18 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.119e-05/1.004, allocations: 3.906 kB / 1.131 GB, free: 30.18 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.464e-05/1.004, allocations: 16.64 kB / 1.132 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/1.004, allocations: 1 kB / 1.132 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/1.004, allocations: 0 / 1.132 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/1.004, allocations: 4 kB / 1.132 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003939/1.004, allocations: 385.6 kB / 1.132 GB, free: 29.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/1.004, allocations: 1.031 kB / 1.132 GB, free: 29.76 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.212e-05/1.004, allocations: 15.42 kB / 1.132 GB, free: 29.75 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/1.004, allocations: 0 / 1.132 GB, free: 29.75 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/1.004, allocations: 0.6875 kB / 1.132 GB, free: 29.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/1.004, allocations: 0 / 1.132 GB, free: 29.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.004, allocations: 0.9375 kB / 1.132 GB, free: 29.75 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002548/1.005, allocations: 224.9 kB / 1.132 GB, free: 29.53 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.688e-05/1.005, allocations: 85.02 kB / 1.132 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/1.005, allocations: 0.75 kB / 1.132 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.258e-05/1.005, allocations: 11.52 kB / 1.132 GB, free: 29.42 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.019e-05/1.005, allocations: 3.469 kB / 1.132 GB, free: 29.42 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.906e-06/1.005, allocations: 12.69 kB / 1.132 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.723e-05/1.005, allocations: 99.58 kB / 1.132 GB, free: 29.31 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/1.005, allocations: 0 / 1.132 GB, free: 29.31 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00025/1.005, allocations: 28 kB / 1.132 GB, free: 29.29 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001794/1.005, allocations: 118.7 kB / 1.132 GB, free: 29.16 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003792/1.006, allocations: 191.9 kB / 1.133 GB, free: 28.98 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/1.006, allocations: 0 / 1.133 GB, free: 28.98 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001099/1.006, allocations: 39.77 kB / 1.133 GB, free: 28.95 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/1.006, allocations: 9.391 kB / 1.133 GB, free: 28.95 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003595/1.007, allocations: 185.8 kB / 1.133 GB, free: 28.75 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001341/1.007, allocations: 0.6875 MB / 1.134 GB, free: 28.05 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.473e-05/1.007, allocations: 4.984 kB / 1.134 GB, free: 28.04 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.338e-05/1.007, allocations: 15.44 kB / 1.134 GB, free: 28.03 MB / 0.7292 GB Notification: Performance of SimCode: time 2.31e-07/1.007, allocations: 0 / 1.134 GB, free: 28.03 MB / 0.7292 GB Notification: Performance of Templates: time 0.003504/1.01, allocations: 1.302 MB / 1.135 GB, free: 27.3 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1)