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.186/2.186, allocations: 248.5 MB / 261.1 MB, free: 6.059 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.001635/0.001635, allocations: 182.6 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.002/2.002, allocations: 205.2 MB / 0.571 GB, free: 11.73 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.001192/0.001191, allocations: 104 kB / 0.6754 GB, free: 0.8164 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.92e-05/4.939e-05, allocations: 7.984 kB / 0.7869 GB, free: 97.77 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2261, allocations: 106.2 MB / 0.8907 GB, free: 7.426 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.865/1.091, allocations: 131.8 MB / 1.019 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/1.091, allocations: 73 kB / 1.019 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.008606/1.1, allocations: 1.977 MB / 1.021 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.844e-06/1.1, allocations: 0 / 1.021 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.251e-05/1.1, allocations: 4 kB / 1.021 GB, free: 1.277 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.0009375/1.101, allocations: 447.9 kB / 1.022 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/1.101, allocations: 8.031 kB / 1.022 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.479e-05/1.101, allocations: 41.73 kB / 1.022 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.642e-05/1.101, allocations: 27.84 kB / 1.022 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/1.102, allocations: 178.5 kB / 1.022 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.999e-05/1.102, allocations: 19.42 kB / 1.022 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.637e-05/1.102, allocations: 26.38 kB / 1.022 GB, free: 496 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005517/1.102, allocations: 213.2 kB / 1.022 GB, free: 332 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/1.102, allocations: 3.984 kB / 1.022 GB, free: 328 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.306e-05/1.102, allocations: 15.34 kB / 1.022 GB, free: 316 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/1.102, allocations: 4 kB / 1.022 GB, free: 312 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003003/1.103, allocations: 91.48 kB / 1.022 GB, free: 252 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001351/1.104, allocations: 0.5464 MB / 1.023 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/1.105, allocations: 323.7 kB / 1.023 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003245/1.106, allocations: 138 kB / 1.023 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/1.106, allocations: 4 kB / 1.023 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001168/1.107, allocations: 0.5515 MB / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=46): time 3.567e-06/1.107, allocations: 4 kB / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of matching and sorting (n=46): time 0.00117/1.108, allocations: 417.9 kB / 1.024 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.402e-05/1.108, allocations: 63.33 kB / 1.024 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002034/1.108, allocations: 141 kB / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001136/1.108, allocations: 62.75 kB / 1.025 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.603e-05/1.108, allocations: 103.3 kB / 1.025 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/1.109, allocations: 106.8 kB / 1.025 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.465e-05/1.109, allocations: 14.25 kB / 1.025 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001447/1.109, allocations: 332.7 kB / 1.025 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003888/1.109, allocations: 137.2 kB / 1.025 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004671/1.11, allocations: 218.6 kB / 1.025 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000265/1.11, allocations: 95.64 kB / 1.026 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/1.11, allocations: 0 / 1.026 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009381/1.111, allocations: 387.8 kB / 1.026 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/1.111, allocations: 8.219 kB / 1.026 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/1.111, allocations: 0 / 1.026 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.451e-05/1.111, allocations: 7.938 kB / 1.026 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/1.111, allocations: 34.48 kB / 1.026 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.998e-05/1.111, allocations: 11.92 kB / 1.026 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000284/1.112, allocations: 30.48 kB / 1.026 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.291e-05/1.112, allocations: 18.06 kB / 1.026 GB, free: 13.14 MB / 0.6511 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.0002327/1.112, allocations: 154.4 kB / 1.026 GB, free: 13 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.792e-05/1.112, allocations: 35.09 kB / 1.026 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001297/1.112, allocations: 37.5 kB / 1.026 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.477e-06/1.112, allocations: 4 kB / 1.026 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/1.112, allocations: 0 / 1.026 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.228e-06/1.112, allocations: 3.984 kB / 1.026 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002274/1.114, allocations: 0.9654 MB / 1.027 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/1.114, allocations: 0 / 1.027 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.944e-05/1.115, allocations: 15.92 kB / 1.027 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/1.115, allocations: 128 / 1.027 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-05/1.115, allocations: 30.59 kB / 1.027 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.664e-06/1.115, allocations: 4 kB / 1.027 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/1.115, allocations: 3.984 kB / 1.027 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/1.116, allocations: 0.577 MB / 1.028 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.408e-05/1.116, allocations: 96.88 kB / 1.028 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/1.116, allocations: 28.98 kB / 1.028 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003195/1.116, allocations: 26.28 kB / 1.028 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003099/1.117, allocations: 106.2 kB / 1.028 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.52e-05/1.117, allocations: 30.53 kB / 1.028 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001128/1.117, allocations: 104.2 kB / 1.028 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.91e-07/1.117, allocations: 4 kB / 1.028 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005283/1.117, allocations: 78.05 kB / 1.028 GB, free: 11.08 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.00169/1.119, allocations: 1.443 MB / 1.03 GB, free: 9.699 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001001/1.12, allocations: 364.8 kB / 1.03 GB, free: 9.449 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/1.12, allocations: 0 / 1.03 GB, free: 9.449 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005403/1.121, allocations: 226.1 kB / 1.03 GB, free: 9.301 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004131/1.121, allocations: 35.42 kB / 1.03 GB, free: 9.273 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/1.123, allocations: 470.4 kB / 1.031 GB, free: 8.84 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003808/1.123, allocations: 0.7426 MB / 1.031 GB, free: 8.074 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002014/1.123, allocations: 38.95 kB / 1.031 GB, free: 8.039 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003072/1.124, allocations: 88.7 kB / 1.032 GB, free: 7.996 MB / 0.6511 GB Notification: Performance of SimCode: time 1.052e-06/1.124, allocations: 0 / 1.032 GB, free: 7.996 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03861/1.162, allocations: 5.542 MB / 1.037 GB, free: 2.586 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0009496/1.164, allocations: 169.5 kB / 1.037 GB, free: 2.355 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.586/3.75, allocations: 0 / 1.037 GB, free: 2.355 MB / 0.6511 GB