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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.901/1.901, allocations: 292.6 MB / 307.6 MB, free: 5.203 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.001083/0.001083, allocations: 177.1 kB / 377.1 MB, free: 1.527 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.847/1.847, allocations: 205.4 MB / 0.6367 GB, free: 8.617 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.001222/0.001221, allocations: 97.94 kB / 0.751 GB, free: 62.97 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003447/0.0003447, allocations: 8 kB / 0.8748 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3123, allocations: 116.3 MB / 0.9884 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8383/1.151, allocations: 139.4 MB / 1.124 GB, free: 35.42 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/1.151, allocations: 70.41 kB / 1.125 GB, free: 35.36 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.005807/1.157, allocations: 2.096 MB / 1.127 GB, free: 33.84 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.974e-06/1.157, allocations: 0 / 1.127 GB, free: 33.84 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.235e-06/1.157, allocations: 4 kB / 1.127 GB, free: 33.84 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.0004482/1.157, allocations: 393.9 kB / 1.127 GB, free: 33.41 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/1.157, allocations: 12.02 kB / 1.127 GB, free: 33.4 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.507e-05/1.157, allocations: 18.53 kB / 1.127 GB, free: 33.38 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.56e-05/1.158, allocations: 175.1 kB / 1.127 GB, free: 33.18 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/1.158, allocations: 4 kB / 1.127 GB, free: 33.17 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/1.158, allocations: 8 kB / 1.127 GB, free: 33.16 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002112/1.158, allocations: 75 kB / 1.127 GB, free: 33.1 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/1.158, allocations: 4.641 kB / 1.127 GB, free: 33.1 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/1.158, allocations: 0.9375 kB / 1.127 GB, free: 33.1 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/1.158, allocations: 0 / 1.127 GB, free: 33.1 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001798/1.158, allocations: 61.44 kB / 1.127 GB, free: 33.05 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004959/1.159, allocations: 328.4 kB / 1.128 GB, free: 32.72 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/1.159, allocations: 64.08 kB / 1.128 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.748e-06/1.159, allocations: 3.938 kB / 1.128 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002615/1.159, allocations: 100.9 kB / 1.128 GB, free: 32.56 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.563e-06/1.159, allocations: 0 / 1.128 GB, free: 32.56 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0004248/1.159, allocations: 154.5 kB / 1.128 GB, free: 32.43 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/1.16, allocations: 55.41 kB / 1.128 GB, free: 32.36 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.635e-05/1.16, allocations: 114.3 kB / 1.128 GB, free: 32.25 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/1.16, allocations: 29.7 kB / 1.128 GB, free: 32.21 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.32e-05/1.16, allocations: 91.8 kB / 1.128 GB, free: 32.12 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.58e-05/1.16, allocations: 15.72 kB / 1.128 GB, free: 32.11 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.136e-05/1.16, allocations: 4 kB / 1.128 GB, free: 32.1 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.464e-05/1.16, allocations: 322.3 kB / 1.129 GB, free: 31.78 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/1.16, allocations: 66.5 kB / 1.129 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/1.16, allocations: 86.89 kB / 1.129 GB, free: 31.64 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/1.16, allocations: 84.83 kB / 1.129 GB, free: 31.55 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/1.16, allocations: 0 / 1.129 GB, free: 31.55 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000378/1.161, allocations: 220.3 kB / 1.129 GB, free: 31.35 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.275e-05/1.161, allocations: 37.7 kB / 1.129 GB, free: 31.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/1.161, allocations: 0.8594 kB / 1.129 GB, free: 31.31 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/1.161, allocations: 0.5156 kB / 1.129 GB, free: 31.31 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.849e-05/1.161, allocations: 16.23 kB / 1.129 GB, free: 31.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/1.161, allocations: 3.516 kB / 1.129 GB, free: 31.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/1.161, allocations: 58.41 kB / 1.129 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.33e-05/1.161, allocations: 12.66 kB / 1.129 GB, free: 31.24 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.234e-05/1.161, allocations: 122.5 kB / 1.129 GB, free: 31.11 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.251e-05/1.161, allocations: 11.84 kB / 1.129 GB, free: 31.1 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.507e-05/1.161, allocations: 16.69 kB / 1.129 GB, free: 31.09 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/1.161, allocations: 0 / 1.129 GB, free: 31.09 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/1.161, allocations: 1.125 kB / 1.129 GB, free: 31.09 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/1.161, allocations: 0 / 1.129 GB, free: 31.09 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003852/1.162, allocations: 390 kB / 1.13 GB, free: 30.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/1.162, allocations: 0 / 1.13 GB, free: 30.68 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.6e-05/1.162, allocations: 11.61 kB / 1.13 GB, free: 30.67 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/1.162, allocations: 0 / 1.13 GB, free: 30.67 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/1.162, allocations: 4 kB / 1.13 GB, free: 30.67 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/1.162, allocations: 0.5469 kB / 1.13 GB, free: 30.67 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.162, allocations: 1.438 kB / 1.13 GB, free: 30.67 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002644/1.162, allocations: 225.5 kB / 1.13 GB, free: 30.45 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.851e-05/1.162, allocations: 81.11 kB / 1.13 GB, free: 30.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/1.162, allocations: 0 / 1.13 GB, free: 30.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.639e-05/1.162, allocations: 15.97 kB / 1.13 GB, free: 30.34 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.7e-05/1.162, allocations: 11.56 kB / 1.13 GB, free: 30.33 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-06/1.162, allocations: 0 / 1.13 GB, free: 30.33 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.563e-05/1.162, allocations: 93.58 kB / 1.13 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.162, allocations: 0 / 1.13 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000265/1.163, allocations: 32 kB / 1.13 GB, free: 30.21 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.0001875/1.163, allocations: 117 kB / 1.13 GB, free: 30.1 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003676/1.163, allocations: 185.1 kB / 1.13 GB, free: 29.92 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.163, allocations: 0 / 1.13 GB, free: 29.92 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001212/1.163, allocations: 47.33 kB / 1.13 GB, free: 29.88 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/1.164, allocations: 23.52 kB / 1.13 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003968/1.164, allocations: 170.3 kB / 1.131 GB, free: 29.69 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000131/1.164, allocations: 0.6907 MB / 1.131 GB, free: 28.98 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.426e-05/1.164, allocations: 11.23 kB / 1.131 GB, free: 28.97 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.335e-05/1.164, allocations: 12.28 kB / 1.131 GB, free: 28.96 MB / 0.7292 GB Notification: Performance of SimCode: time 2.31e-07/1.164, allocations: 0 / 1.131 GB, free: 28.96 MB / 0.7292 GB Notification: Performance of Templates: time 0.003706/1.168, allocations: 1.26 MB / 1.133 GB, free: 28.26 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)