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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001953/0.001953, allocations: 192 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.674/1.674, allocations: 205.1 MB / 222.4 MB, free: 4.574 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.782/1.782, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001484/0.001484, allocations: 66.83 kB / 0.6715 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3388, allocations: 114.5 MB / 0.7834 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002354/0.3412, allocations: 0.7641 MB / 0.7841 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001503/0.3428, allocations: 1.138 MB / 0.7852 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.324e-05/0.3428, allocations: 0 / 0.7852 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.016e-05/0.3429, allocations: 11.92 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.543e-05/0.343, allocations: 11.86 kB / 0.7853 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004994/0.3435, allocations: 134.9 kB / 0.7854 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001614/0.3437, allocations: 119.8 kB / 0.7855 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.3438, allocations: 15.98 kB / 0.7855 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.3439, allocations: 51.89 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.584e-05/0.344, allocations: 35.83 kB / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.017e-05/0.344, allocations: 12 kB / 0.7856 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.249e-05/0.3441, allocations: 23.98 kB / 0.7856 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.675e-05/0.3441, allocations: 23.84 kB / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.991e-05/0.3442, allocations: 39.86 kB / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000182/0.3444, allocations: 111.7 kB / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3444, allocations: 0 / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3444, allocations: 0 / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.3444, allocations: 0 / 0.7858 GB, free: 10.93 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.0006278/0.3451, allocations: 413.2 kB / 0.7862 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.3451, allocations: 12.03 kB / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.424e-05/0.3452, allocations: 8.844 kB / 0.7862 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.3453, allocations: 164.4 kB / 0.7864 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.3453, allocations: 8.359 kB / 0.7864 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.054e-05/0.3454, allocations: 8.375 kB / 0.7864 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001982/0.3456, allocations: 66.22 kB / 0.7865 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.3456, allocations: 8.062 kB / 0.7865 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.3456, allocations: 7.922 kB / 0.7865 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.3456, allocations: 0 / 0.7865 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000174/0.3458, allocations: 43.91 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000511/0.3463, allocations: 340.6 kB / 0.7868 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001779/0.3465, allocations: 66.48 kB / 0.7869 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.3466, allocations: 32.95 kB / 0.7869 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.726e-06/0.3466, allocations: 4 kB / 0.7869 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002419/0.3469, allocations: 83.36 kB / 0.787 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.703e-06/0.3469, allocations: 0 / 0.787 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0004399/0.3473, allocations: 149.5 kB / 0.7872 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.792e-05/0.3474, allocations: 51.41 kB / 0.7872 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.3475, allocations: 121.8 kB / 0.7873 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/0.3476, allocations: 29.7 kB / 0.7874 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.538e-05/0.3476, allocations: 96.03 kB / 0.7874 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.371e-05/0.3477, allocations: 11.81 kB / 0.7875 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.647e-05/0.3478, allocations: 41.69 kB / 0.7875 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.3479, allocations: 318.8 kB / 0.7878 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001625/0.3481, allocations: 51.95 kB / 0.7878 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000178/0.3483, allocations: 88.25 kB / 0.7879 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000277/0.3485, allocations: 141.8 kB / 0.7881 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3485, allocations: 0 / 0.7881 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004245/0.349, allocations: 215.1 kB / 0.7883 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.922e-05/0.349, allocations: 37.7 kB / 0.7883 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.349, allocations: 0 / 0.7883 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.3491, allocations: 0 / 0.7883 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.026e-05/0.3492, allocations: 16.11 kB / 0.7883 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.3492, allocations: 4 kB / 0.7883 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002138/0.3494, allocations: 39.83 kB / 0.7884 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.181e-05/0.3494, allocations: 15.92 kB / 0.7884 GB, free: 8.012 MB / 0.6075 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 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001067/0.3495, allocations: 124.2 kB / 0.7885 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.487e-05/0.3496, allocations: 7.906 kB / 0.7885 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.025e-05/0.3496, allocations: 12.38 kB / 0.7885 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.3496, allocations: 4 kB / 0.7885 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3496, allocations: 0 / 0.7885 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3496, allocations: 0 / 0.7885 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004602/0.3501, allocations: 374.4 kB / 0.7889 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3501, allocations: 0 / 0.7889 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.412e-05/0.3502, allocations: 15.98 kB / 0.7889 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3502, allocations: 0 / 0.7889 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.3502, allocations: 3.938 kB / 0.7889 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3502, allocations: 0 / 0.7889 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3502, allocations: 400 / 0.7889 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000284/0.3505, allocations: 219.3 kB / 0.7891 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.491e-05/0.3505, allocations: 81.02 kB / 0.7892 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.3505, allocations: 8 kB / 0.7892 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.109e-05/0.3506, allocations: 16.03 kB / 0.7892 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/0.3507, allocations: 7.984 kB / 0.7892 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.3507, allocations: 7.938 kB / 0.7892 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.366e-05/0.3508, allocations: 91.27 kB / 0.7893 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.3508, allocations: 0 / 0.7893 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002538/0.351, allocations: 24 kB / 0.7893 GB, free: 6.938 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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002075/0.3512, allocations: 103.2 kB / 0.7894 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004182/0.3517, allocations: 179.3 kB / 0.7896 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3517, allocations: 0 / 0.7896 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.3518, allocations: 47.89 kB / 0.7896 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.3521, allocations: 12.86 kB / 0.7897 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004262/0.3525, allocations: 174.9 kB / 0.7898 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/0.3528, allocations: 0.6951 MB / 0.7905 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.355e-05/0.3529, allocations: 4 kB / 0.7905 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.755e-05/0.3529, allocations: 11.44 kB / 0.7905 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of SimCode: time 4.9e-07/0.3529, allocations: 4 kB / 0.7905 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of Templates: time 0.004267/0.3572, allocations: 1.438 MB / 0.7919 GB, free: 4.223 MB / 0.6075 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)