Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.conf.json 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Toggle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.249/2.249, allocations: 248.7 MB / 256.2 MB, free: 7.109 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00147/0.00147, allocations: 183.6 kB / 315.4 MB, free: 4.02 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.095/2.095, allocations: 205.3 MB / 0.5662 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001236/0.001235, allocations: 96.84 kB / 0.6704 GB, free: 5.723 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.723e-05/2.735e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2208, allocations: 106.3 MB / 0.8841 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8858/1.107, allocations: 132 MB / 1.013 GB, free: 6.703 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/1.107, allocations: 74.58 kB / 1.013 GB, free: 6.664 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.008752/1.116, allocations: 1.963 MB / 1.015 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.824e-06/1.116, allocations: 4 kB / 1.015 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.218e-05/1.116, allocations: 4 kB / 1.015 GB, free: 4.914 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.000953/1.117, allocations: 446.1 kB / 1.015 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/1.117, allocations: 12.03 kB / 1.015 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.789e-05/1.117, allocations: 15.91 kB / 1.016 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/1.117, allocations: 186.9 kB / 1.016 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.63e-05/1.117, allocations: 4 kB / 1.016 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.644e-05/1.117, allocations: 27.48 kB / 1.016 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002828/1.118, allocations: 75.48 kB / 1.016 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004858/1.118, allocations: 198.9 kB / 1.016 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/1.118, allocations: 0 / 1.016 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.073e-05/1.118, allocations: 11.97 kB / 1.016 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/1.118, allocations: 0 / 1.016 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/1.12, allocations: 0.4975 MB / 1.016 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/1.121, allocations: 309.7 kB / 1.017 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002825/1.121, allocations: 124.4 kB / 1.017 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/1.121, allocations: 352 / 1.017 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001145/1.122, allocations: 0.5324 MB / 1.017 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=46): time 3.096e-06/1.122, allocations: 3.938 kB / 1.017 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of matching and sorting (n=46): time 0.001051/1.123, allocations: 388.3 kB / 1.018 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/1.123, allocations: 63.41 kB / 1.018 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/1.124, allocations: 127 kB / 1.018 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.000104/1.124, allocations: 51.81 kB / 1.018 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.011e-05/1.124, allocations: 105.7 kB / 1.018 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001356/1.124, allocations: 100.8 kB / 1.018 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.205e-05/1.124, allocations: 0 / 1.018 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001379/1.124, allocations: 335.9 kB / 1.019 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003379/1.124, allocations: 125.8 kB / 1.019 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004065/1.125, allocations: 208.3 kB / 1.019 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002262/1.125, allocations: 86.86 kB / 1.019 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/1.125, allocations: 4 kB / 1.019 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008252/1.126, allocations: 337.2 kB / 1.019 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.878e-05/1.126, allocations: 11.95 kB / 1.019 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/1.126, allocations: 224 / 1.019 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.882e-05/1.126, allocations: 4 kB / 1.019 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/1.126, allocations: 35.17 kB / 1.019 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/1.126, allocations: 8.25 kB / 1.019 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002756/1.127, allocations: 19.73 kB / 1.019 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.743e-05/1.127, allocations: 15.81 kB / 1.019 GB, free: 1.059 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 66 ($PRE.falCle.clr,$PRE.truCle.clr,$PRE.iniFalOut.clr,$PRE.iniTruOut.clr,$PRE.swiCleInp.clr,$PRE.swiCleInp1.clr,$whenCondition26,$whenCondition25,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$PRE.falCle.u,falCle.u,falCle.clr,$PRE.falCle.y,falCle.y,$PRE.truCle.u,truCle.u,truCle.clr,$PRE.truCle.y,truCle.y,$PRE.iniFalOut.u,iniFalOut.u,iniFalOut.clr,$PRE.iniFalOut.y,iniFalOut.y,$PRE.iniTruOut.u,iniTruOut.u,iniTruOut.clr,$PRE.iniTruOut.y,iniTruOut.y,$PRE.swiCleInp.u,swiCleInp.u,swiCleInp.clr,$PRE.swiCleInp.y,swiCleInp.y,$PRE.swiCleInp1.u,swiCleInp1.u,swiCleInp1.clr,$PRE.swiCleInp1.y,swiCleInp1.y,$PRE.cleInp.pulseStart,cleInp.pulseStart,$PRE.togInp.pulseStart,togInp.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * 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.0002309/1.127, allocations: 136.8 kB / 1.019 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009425/1.128, allocations: 400.8 kB / 1.02 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.757e-05/1.128, allocations: 31.31 kB / 1.02 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001265/1.128, allocations: 33.5 kB / 1.02 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/1.128, allocations: 4 kB / 1.02 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/1.128, allocations: 0 / 1.02 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/1.128, allocations: 3.984 kB / 1.02 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00205/1.13, allocations: 0.8758 MB / 1.021 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/1.13, allocations: 0 / 1.021 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.438e-05/1.13, allocations: 18.88 kB / 1.021 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.195e-05/1.13, allocations: 4.109 kB / 1.021 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.562e-05/1.13, allocations: 22.78 kB / 1.021 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.884e-06/1.13, allocations: 4 kB / 1.021 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/1.13, allocations: 0 / 1.021 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/1.131, allocations: 0.5378 MB / 1.021 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.453e-05/1.132, allocations: 92.88 kB / 1.021 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001301/1.132, allocations: 23.17 kB / 1.021 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00032/1.132, allocations: 23.53 kB / 1.021 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002925/1.132, allocations: 106.4 kB / 1.022 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.093e-05/1.132, allocations: 35.2 kB / 1.022 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.655e-05/1.133, allocations: 100.7 kB / 1.022 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.41e-07/1.133, allocations: 0 / 1.022 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005534/1.133, allocations: 63.98 kB / 1.022 GB, free: 14.82 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 46 (swiCleInp.clr,swiCleInp1.clr,$whenCondition26,$whenCondition25,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,falCle.u,falCle.y,truCle.u,truCle.y,iniFalOut.u,iniFalOut.y,iniTruOut.u,iniTruOut.y,swiCleInp.u,swiCleInp.y,swiCleInp1.u,swiCleInp1.y,cleInp.pulseStart,togInp.pulseStart,falCle.clr,iniFalOut.clr,iniTruOut.clr,truCle.clr) * Number of discrete states: 12 (iniTruOut.u,iniTruOut.y,iniFalOut.u,iniFalOut.y,truCle.u,truCle.y,falCle.u,falCle.y,swiCleInp1.u,swiCleInp1.y,swiCleInp.u,swiCleInp.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001529/1.135, allocations: 1.4 MB / 1.023 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009615/1.136, allocations: 329.3 kB / 1.023 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/1.136, allocations: 0 / 1.023 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004919/1.136, allocations: 208 kB / 1.024 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004772/1.137, allocations: 28.83 kB / 1.024 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/1.138, allocations: 424.8 kB / 1.024 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/1.139, allocations: 0.7465 MB / 1.025 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002303/1.139, allocations: 39.27 kB / 1.025 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003216/1.139, allocations: 88.83 kB / 1.025 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of SimCode: time 1.272e-06/1.139, allocations: 0 / 1.025 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04867/1.188, allocations: 5.142 MB / 1.03 GB, free: 6.723 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003559/1.188, allocations: 148.7 kB / 1.03 GB, free: 6.527 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.463/3.652, allocations: 0 / 1.03 GB, free: 6.527 MB / 0.6511 GB