Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.Toggle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.84/1.84, allocations: 205.4 MB / 222.1 MB, free: 5.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.655/1.655, allocations: 251.9 MB / 0.51 GB, free: 4.84 MB / 414.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.0005488/0.0005488, allocations: 19.75 kB / 0.6241 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6569/0.6575, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.002175/0.6597, allocations: 1.189 MB / 0.7291 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0007029/0.6604, allocations: 348.1 kB / 0.7295 GB, free: 9.891 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.991e-05/0.6605, allocations: 7.938 kB / 0.7295 GB, free: 9.883 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.883e-05/0.6605, allocations: 7.922 kB / 0.7295 GB, free: 9.875 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.772e-05/0.6606, allocations: 11.97 kB / 0.7295 GB, free: 9.863 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002763/0.6609, allocations: 95.78 kB / 0.7296 GB, free: 9.77 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.6611, allocations: 139.5 kB / 0.7297 GB, free: 9.633 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001684/0.6613, allocations: 37.3 kB / 0.7298 GB, free: 9.59 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.6614, allocations: 91.78 kB / 0.7298 GB, free: 9.5 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.6615, allocations: 99.55 kB / 0.7299 GB, free: 9.402 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.772e-05/0.6616, allocations: 12 kB / 0.73 GB, free: 9.391 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.739e-05/0.6616, allocations: 16 kB / 0.73 GB, free: 9.375 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.853e-05/0.6617, allocations: 55.83 kB / 0.73 GB, free: 9.32 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.372e-05/0.6618, allocations: 53.64 kB / 0.7301 GB, free: 9.262 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000192/0.662, allocations: 181.5 kB / 0.7302 GB, free: 9.086 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.662, allocations: 0 / 0.7302 GB, free: 9.086 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.405e-06/0.662, allocations: 0 / 0.7302 GB, free: 9.086 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.662, allocations: 0 / 0.7302 GB, free: 9.086 MB / 0.545 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.0007589/0.6628, allocations: 454.7 kB / 0.7307 GB, free: 8.594 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.6628, allocations: 8.031 kB / 0.7307 GB, free: 8.586 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.444e-05/0.6629, allocations: 15.91 kB / 0.7307 GB, free: 8.57 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003993/0.6633, allocations: 258.6 kB / 0.731 GB, free: 8.277 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.456e-05/0.6633, allocations: 16 kB / 0.731 GB, free: 8.262 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.012e-05/0.6634, allocations: 27.98 kB / 0.731 GB, free: 8.234 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000376/0.6638, allocations: 221.4 kB / 0.7312 GB, free: 8.012 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.6638, allocations: 0 / 0.7312 GB, free: 8.012 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.644e-05/0.6638, allocations: 11.98 kB / 0.7312 GB, free: 8 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.6639, allocations: 4 kB / 0.7312 GB, free: 7.996 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001845/0.664, allocations: 95.81 kB / 0.7313 GB, free: 7.902 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009168/0.665, allocations: 0.5314 MB / 0.7318 GB, free: 7.32 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006391/0.6656, allocations: 290.4 kB / 0.7321 GB, free: 7.027 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.6656, allocations: 4 kB / 0.7321 GB, free: 7.023 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007287/0.6664, allocations: 0.5329 MB / 0.7326 GB, free: 6.48 MB / 0.545 GB Notification: Performance of pre-optimization done (n=42): time 2.345e-06/0.6664, allocations: 0 / 0.7326 GB, free: 6.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=42): time 0.0008579/0.6673, allocations: 0.5083 MB / 0.7331 GB, free: 5.965 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/0.6673, allocations: 55.41 kB / 0.7332 GB, free: 5.898 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.6674, allocations: 157.5 kB / 0.7333 GB, free: 5.734 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.297e-05/0.6675, allocations: 57.69 kB / 0.7334 GB, free: 5.672 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.924e-05/0.6676, allocations: 121.2 kB / 0.7335 GB, free: 5.551 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.855e-05/0.6677, allocations: 94.92 kB / 0.7336 GB, free: 5.457 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.337e-05/0.6677, allocations: 12 kB / 0.7336 GB, free: 5.445 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.6679, allocations: 338.8 kB / 0.7339 GB, free: 5.105 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000229/0.6681, allocations: 149 kB / 0.7341 GB, free: 4.961 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002861/0.6684, allocations: 231.6 kB / 0.7343 GB, free: 4.703 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001696/0.6686, allocations: 102.1 kB / 0.7344 GB, free: 4.609 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.6686, allocations: 0 / 0.7344 GB, free: 4.609 MB / 0.545 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0005872/0.6692, allocations: 406.6 kB / 0.7348 GB, free: 4.203 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.6692, allocations: 7.953 kB / 0.7348 GB, free: 4.195 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.158e-06/0.6692, allocations: 7.938 kB / 0.7348 GB, free: 4.188 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.6692, allocations: 4 kB / 0.7348 GB, free: 4.184 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.173e-05/0.6693, allocations: 35.86 kB / 0.7348 GB, free: 4.148 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.6693, allocations: 4 kB / 0.7348 GB, free: 4.145 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.6695, allocations: 47.95 kB / 0.7349 GB, free: 4.098 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.818e-05/0.6696, allocations: 20 kB / 0.7349 GB, free: 4.078 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 68 ($PRE.falCle.clr,$PRE.truCle.clr,$PRE.iniFalOut.clr,$PRE.iniTruOut.clr,$PRE.swiCleInp.clr,$PRE.swiCleInp1.clr,$whenCondition26,$whenCondition25,tru.y,fal.y,$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,$PRE.falCle.y,falCle.y,$PRE.truCle.u,truCle.u,$PRE.truCle.y,truCle.y,$PRE.iniFalOut.u,iniFalOut.u,$PRE.iniFalOut.y,iniFalOut.y,$PRE.iniTruOut.u,iniTruOut.u,$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,iniTruOut.clr,iniFalOut.clr,falCle.clr,truCle.clr) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 68 * 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.0001608/0.6697, allocations: 167 kB / 0.7351 GB, free: 3.906 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.498e-05/0.6698, allocations: 27.7 kB / 0.7351 GB, free: 3.879 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.56e-05/0.6699, allocations: 42.27 kB / 0.7351 GB, free: 3.836 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.6699, allocations: 4 kB / 0.7351 GB, free: 3.832 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.6699, allocations: 4 kB / 0.7351 GB, free: 3.828 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.6699, allocations: 3.984 kB / 0.7351 GB, free: 3.824 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.6711, allocations: 0.8774 MB / 0.736 GB, free: 2.879 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.6711, allocations: 4 kB / 0.736 GB, free: 2.875 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.558e-05/0.6711, allocations: 11.92 kB / 0.736 GB, free: 2.863 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.6711, allocations: 4 kB / 0.736 GB, free: 2.859 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.533e-05/0.6712, allocations: 19.97 kB / 0.736 GB, free: 2.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.6712, allocations: 4 kB / 0.736 GB, free: 2.836 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.6712, allocations: 0 / 0.736 GB, free: 2.836 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006015/0.6718, allocations: 0.4948 MB / 0.7365 GB, free: 2.324 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.6719, allocations: 96.88 kB / 0.7366 GB, free: 2.211 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.955e-05/0.672, allocations: 27.98 kB / 0.7366 GB, free: 2.184 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.6722, allocations: 27.97 kB / 0.7367 GB, free: 2.156 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000166/0.6724, allocations: 91.8 kB / 0.7367 GB, free: 2.066 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.921e-05/0.6724, allocations: 31.97 kB / 0.7368 GB, free: 2.035 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.065e-05/0.6725, allocations: 106.3 kB / 0.7369 GB, free: 1.934 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.613e-06/0.6725, allocations: 0 / 0.7369 GB, free: 1.934 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003384/0.6728, allocations: 79.92 kB / 0.737 GB, free: 1.855 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 42 (swiCleInp1.clr,swiCleInp.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) * Number of discrete states: 12 (iniFalOut.u,iniFalOut.y,iniTruOut.u,iniTruOut.y,falCle.u,falCle.y,truCle.u,truCle.y,swiCleInp.u,swiCleInp.y,swiCleInp1.u,swiCleInp1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 34 * 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.0002237/0.6731, allocations: 153.8 kB / 0.7371 GB, free: 1.695 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005596/0.6736, allocations: 366.8 kB / 0.7375 GB, free: 1.34 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.6736, allocations: 0 / 0.7375 GB, free: 1.34 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002723/0.6739, allocations: 215.9 kB / 0.7377 GB, free: 1.129 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.6742, allocations: 32.61 kB / 0.7377 GB, free: 1.098 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009007/0.6751, allocations: 0.4893 MB / 0.7382 GB, free: 0.582 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.6755, allocations: 0.7413 MB / 0.7389 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001159/0.6756, allocations: 38.97 kB / 0.7389 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/0.6757, allocations: 47.39 kB / 0.739 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of SimCode: time 4.1e-07/0.6757, allocations: 0 / 0.739 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of Templates: time 0.007358/0.6831, allocations: 3.543 MB / 0.7424 GB, free: 12.21 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe 2>&1) Environment - environmentSimulation: