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.001187/0.001187, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001315/0.001316, allocations: 194.2 kB / 16.13 MB, free: 6.656 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.848/1.848, allocations: 205.1 MB / 222 MB, free: 4.758 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.666/1.666, allocations: 251.7 MB / 0.5088 GB, free: 3.312 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.001512/0.001512, allocations: 67.89 kB / 0.6216 GB, free: 1.945 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6669/0.6685, allocations: 104.7 MB / 0.7238 GB, free: 13.3 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.003005/0.6715, allocations: 1.556 MB / 0.7253 GB, free: 11.73 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0007483/0.6723, allocations: 368 kB / 0.7257 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.79e-05/0.6724, allocations: 0 / 0.7257 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.293e-05/0.6725, allocations: 11.86 kB / 0.7257 GB, free: 11.35 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.266e-05/0.6725, allocations: 7.938 kB / 0.7257 GB, free: 11.34 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002937/0.6728, allocations: 103.8 kB / 0.7258 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002318/0.6731, allocations: 247.3 kB / 0.726 GB, free: 11 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001807/0.6733, allocations: 45 kB / 0.7261 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.6734, allocations: 111.7 kB / 0.7262 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.6735, allocations: 99.66 kB / 0.7263 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.159e-05/0.6736, allocations: 16 kB / 0.7263 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 3.53e-05/0.6736, allocations: 12 kB / 0.7263 GB, free: 10.72 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.657e-05/0.6737, allocations: 67.78 kB / 0.7264 GB, free: 10.65 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.6738, allocations: 87.67 kB / 0.7265 GB, free: 10.57 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002497/0.6741, allocations: 245.3 kB / 0.7267 GB, free: 10.33 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.6741, allocations: 3.984 kB / 0.7267 GB, free: 10.32 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6741, allocations: 0 / 0.7267 GB, free: 10.32 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.6741, allocations: 0 / 0.7267 GB, free: 10.32 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.0008477/0.675, allocations: 0.4911 MB / 0.7272 GB, free: 9.781 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.675, allocations: 8.031 kB / 0.7272 GB, free: 9.773 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.153e-05/0.6751, allocations: 20.75 kB / 0.7272 GB, free: 9.754 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003785/0.6755, allocations: 259.9 kB / 0.7275 GB, free: 9.461 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.301e-05/0.6755, allocations: 16.36 kB / 0.7275 GB, free: 9.445 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.053e-05/0.6756, allocations: 32.36 kB / 0.7275 GB, free: 9.414 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003671/0.6759, allocations: 214 kB / 0.7277 GB, free: 9.199 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.676, allocations: 4.188 kB / 0.7277 GB, free: 9.195 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.404e-05/0.676, allocations: 15.92 kB / 0.7277 GB, free: 9.18 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.676, allocations: 4 kB / 0.7277 GB, free: 9.176 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001871/0.6762, allocations: 95.81 kB / 0.7278 GB, free: 9.082 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000882/0.6771, allocations: 0.5197 MB / 0.7283 GB, free: 8.512 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006484/0.6778, allocations: 266.5 kB / 0.7286 GB, free: 8.242 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001742/0.6779, allocations: 112.8 kB / 0.7287 GB, free: 8.129 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/0.678, allocations: 0 / 0.7287 GB, free: 8.129 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008052/0.6788, allocations: 0.5363 MB / 0.7292 GB, free: 7.582 MB / 0.545 GB Notification: Performance of pre-optimization done (n=42): time 1.513e-06/0.6788, allocations: 0 / 0.7292 GB, free: 7.582 MB / 0.545 GB Notification: Performance of matching and sorting (n=42): time 0.0008855/0.6797, allocations: 0.5083 MB / 0.7297 GB, free: 7.066 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.712e-05/0.6797, allocations: 67.33 kB / 0.7298 GB, free: 6.988 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.6799, allocations: 160.7 kB / 0.7299 GB, free: 6.82 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.835e-05/0.68, allocations: 61.69 kB / 0.73 GB, free: 6.754 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.6801, allocations: 116.9 kB / 0.7301 GB, free: 6.637 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.582e-05/0.6802, allocations: 98.94 kB / 0.7302 GB, free: 6.539 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001436/0.6803, allocations: 102.1 kB / 0.7303 GB, free: 6.434 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.6805, allocations: 334.8 kB / 0.7306 GB, free: 6.098 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002417/0.6807, allocations: 141.1 kB / 0.7307 GB, free: 5.961 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003121/0.6811, allocations: 239.6 kB / 0.731 GB, free: 5.695 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003392/0.6814, allocations: 255.5 kB / 0.7312 GB, free: 5.414 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.6814, allocations: 4 kB / 0.7312 GB, free: 5.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0008313/0.6823, allocations: 406.6 kB / 0.7316 GB, free: 5.012 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.094e-05/0.6823, allocations: 8 kB / 0.7316 GB, free: 5.004 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/0.6823, allocations: 7.984 kB / 0.7316 GB, free: 4.996 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.781e-05/0.6824, allocations: 7.938 kB / 0.7316 GB, free: 4.988 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.6825, allocations: 23.92 kB / 0.7317 GB, free: 4.965 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.478e-05/0.6825, allocations: 7.938 kB / 0.7317 GB, free: 4.957 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002274/0.6828, allocations: 51.61 kB / 0.7317 GB, free: 4.906 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-05/0.6828, allocations: 20.31 kB / 0.7317 GB, free: 4.887 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,truCle.clr,falCle.clr,iniFalOut.clr,iniTruOut.clr,togInp.pulseStart,$PRE.togInp.pulseStart,cleInp.pulseStart,$PRE.cleInp.pulseStart,swiCleInp1.y,$PRE.swiCleInp1.y,swiCleInp1.clr,swiCleInp1.u,$PRE.swiCleInp1.u,swiCleInp.y,$PRE.swiCleInp.y,swiCleInp.clr,swiCleInp.u,$PRE.swiCleInp.u,iniTruOut.y,$PRE.iniTruOut.y,iniTruOut.u,$PRE.iniTruOut.u,iniFalOut.y,$PRE.iniFalOut.y,iniFalOut.u,$PRE.iniFalOut.u,truCle.y,$PRE.truCle.y,truCle.u,$PRE.truCle.u,falCle.y,$PRE.falCle.y,falCle.u,$PRE.falCle.u,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002505/0.6831, allocations: 170.9 kB / 0.7319 GB, free: 4.711 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.765e-05/0.6832, allocations: 23.81 kB / 0.7319 GB, free: 4.688 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001227/0.6833, allocations: 38.31 kB / 0.732 GB, free: 4.648 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.6833, allocations: 7.938 kB / 0.732 GB, free: 4.641 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.55e-05/0.6833, allocations: 3.984 kB / 0.732 GB, free: 4.637 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.6833, allocations: 4 kB / 0.732 GB, free: 4.633 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001843/0.6852, allocations: 0.8851 MB / 0.7328 GB, free: 3.684 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.6852, allocations: 0 / 0.7328 GB, free: 3.684 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.167e-05/0.6853, allocations: 7.938 kB / 0.7328 GB, free: 3.676 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.6853, allocations: 4 kB / 0.7328 GB, free: 3.672 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.683e-05/0.6853, allocations: 27.95 kB / 0.7329 GB, free: 3.645 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.6854, allocations: 0 / 0.7329 GB, free: 3.645 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.6854, allocations: 0 / 0.7329 GB, free: 3.645 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009931/0.6864, allocations: 0.4949 MB / 0.7334 GB, free: 3.133 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.031e-05/0.6864, allocations: 104.8 kB / 0.7335 GB, free: 3.012 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.6866, allocations: 24 kB / 0.7335 GB, free: 2.988 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.6868, allocations: 23.97 kB / 0.7335 GB, free: 2.965 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002199/0.687, allocations: 71.89 kB / 0.7336 GB, free: 2.895 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.1e-05/0.6871, allocations: 31.97 kB / 0.7336 GB, free: 2.863 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001188/0.6872, allocations: 109.5 kB / 0.7337 GB, free: 2.758 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6872, allocations: 0 / 0.7337 GB, free: 2.758 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005212/0.6877, allocations: 79.92 kB / 0.7338 GB, free: 2.68 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 (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.0002658/0.688, allocations: 145.8 kB / 0.7339 GB, free: 2.531 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008335/0.6889, allocations: 366.8 kB / 0.7343 GB, free: 2.168 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.6889, allocations: 4 kB / 0.7343 GB, free: 2.164 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004828/0.6894, allocations: 207.8 kB / 0.7345 GB, free: 1.961 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005893/0.69, allocations: 43.91 kB / 0.7345 GB, free: 1.918 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.6914, allocations: 0.5 MB / 0.735 GB, free: 1.395 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004852/0.6919, allocations: 0.7296 MB / 0.7357 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002043/0.6921, allocations: 46.95 kB / 0.7358 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002058/0.6923, allocations: 47.34 kB / 0.7358 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.6923, allocations: 0 / 0.7358 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of Templates: time 0.01007/0.7024, allocations: 3.751 MB / 0.7395 GB, free: 12.82 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.makefile (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)