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.00115/0.00115, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001344/0.001344, allocations: 172.7 kB / 15.95 MB, free: 208 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.869/1.869, allocations: 205.4 MB / 222.1 MB, free: 5.73 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.62/1.62, allocations: 252 MB / 0.5102 GB, free: 4.82 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.000546/0.0005463, allocations: 16 kB / 0.6243 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6121/0.6126, allocations: 106.3 MB / 0.7281 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.00179/0.6145, allocations: 1.186 MB / 0.7293 GB, free: 10.36 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008394/0.6154, allocations: 352 kB / 0.7296 GB, free: 10.01 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.987e-05/0.6154, allocations: 0 / 0.7296 GB, free: 10.01 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.062e-05/0.6155, allocations: 11.86 kB / 0.7296 GB, free: 9.996 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.895e-05/0.6156, allocations: 15.92 kB / 0.7297 GB, free: 9.98 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000353/0.616, allocations: 87.86 kB / 0.7297 GB, free: 9.895 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002243/0.6162, allocations: 223.3 kB / 0.73 GB, free: 9.676 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001611/0.6164, allocations: 53.05 kB / 0.73 GB, free: 9.617 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.6165, allocations: 95.73 kB / 0.7301 GB, free: 9.523 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/0.6166, allocations: 91.67 kB / 0.7302 GB, free: 9.434 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.601e-05/0.6167, allocations: 8 kB / 0.7302 GB, free: 9.426 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.824e-05/0.6167, allocations: 12 kB / 0.7302 GB, free: 9.414 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.684e-05/0.6168, allocations: 55.84 kB / 0.7303 GB, free: 9.359 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.588e-05/0.6168, allocations: 57.64 kB / 0.7303 GB, free: 9.297 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001889/0.617, allocations: 173.7 kB / 0.7305 GB, free: 9.129 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/0.6171, allocations: 3.984 kB / 0.7305 GB, free: 9.125 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.973e-06/0.6171, allocations: 4 kB / 0.7305 GB, free: 9.121 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.361e-06/0.6171, allocations: 0 / 0.7305 GB, free: 9.121 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.0007161/0.6178, allocations: 446.8 kB / 0.7309 GB, free: 8.637 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.6178, allocations: 12.03 kB / 0.7309 GB, free: 8.625 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.2e-05/0.6179, allocations: 23.8 kB / 0.731 GB, free: 8.602 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000403/0.6183, allocations: 258.7 kB / 0.7312 GB, free: 8.309 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.804e-05/0.6184, allocations: 15.98 kB / 0.7312 GB, free: 8.293 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.701e-05/0.6184, allocations: 27.98 kB / 0.7312 GB, free: 8.266 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004539/0.6189, allocations: 218.3 kB / 0.7314 GB, free: 8.047 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.6189, allocations: 0 / 0.7314 GB, free: 8.047 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.461e-05/0.6189, allocations: 15.97 kB / 0.7315 GB, free: 8.031 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.619, allocations: 7.984 kB / 0.7315 GB, free: 8.023 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001799/0.6191, allocations: 91.83 kB / 0.7316 GB, free: 7.934 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.6202, allocations: 0.5314 MB / 0.7321 GB, free: 7.352 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000657/0.6209, allocations: 278.5 kB / 0.7323 GB, free: 7.07 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001701/0.6211, allocations: 108.8 kB / 0.7324 GB, free: 6.961 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.6211, allocations: 7.938 kB / 0.7325 GB, free: 6.953 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007344/0.6219, allocations: 0.5329 MB / 0.733 GB, free: 6.41 MB / 0.545 GB Notification: Performance of pre-optimization done (n=42): time 1.764e-06/0.6219, allocations: 0 / 0.733 GB, free: 6.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=42): time 0.0008435/0.6227, allocations: 0.5043 MB / 0.7335 GB, free: 5.898 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.6228, allocations: 63.39 kB / 0.7335 GB, free: 5.824 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.623, allocations: 157.5 kB / 0.7337 GB, free: 5.66 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.052e-05/0.623, allocations: 57.69 kB / 0.7337 GB, free: 5.598 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.6232, allocations: 120.9 kB / 0.7338 GB, free: 5.477 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.6233, allocations: 94.89 kB / 0.7339 GB, free: 5.383 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-05/0.6233, allocations: 12 kB / 0.734 GB, free: 5.371 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002591/0.6236, allocations: 338.8 kB / 0.7343 GB, free: 5.031 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003684/0.624, allocations: 145.1 kB / 0.7344 GB, free: 4.891 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000316/0.6243, allocations: 231.5 kB / 0.7346 GB, free: 4.633 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001892/0.6245, allocations: 102.1 kB / 0.7347 GB, free: 4.539 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.6245, allocations: 3.938 kB / 0.7347 GB, free: 4.535 MB / 0.545 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0007006/0.6252, allocations: 406.5 kB / 0.7351 GB, free: 4.129 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.6253, allocations: 11.98 kB / 0.7351 GB, free: 4.117 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.6253, allocations: 0 / 0.7351 GB, free: 4.117 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.6253, allocations: 8 kB / 0.7351 GB, free: 4.109 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.863e-05/0.6254, allocations: 31.86 kB / 0.7352 GB, free: 4.078 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.6254, allocations: 4 kB / 0.7352 GB, free: 4.074 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001666/0.6256, allocations: 43.98 kB / 0.7352 GB, free: 4.031 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.04e-05/0.6256, allocations: 24 kB / 0.7352 GB, free: 4.008 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.0001726/0.6258, allocations: 163 kB / 0.7354 GB, free: 3.84 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.78e-05/0.6259, allocations: 31.67 kB / 0.7354 GB, free: 3.809 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001111/0.626, allocations: 42.28 kB / 0.7355 GB, free: 3.766 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.626, allocations: 4 kB / 0.7355 GB, free: 3.762 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.626, allocations: 4 kB / 0.7355 GB, free: 3.758 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.626, allocations: 4 kB / 0.7355 GB, free: 3.754 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001357/0.6274, allocations: 0.8773 MB / 0.7363 GB, free: 2.809 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.6274, allocations: 4 kB / 0.7363 GB, free: 2.805 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.44e-05/0.6274, allocations: 15.94 kB / 0.7364 GB, free: 2.789 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.6275, allocations: 0 / 0.7364 GB, free: 2.789 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.819e-05/0.6275, allocations: 23.95 kB / 0.7364 GB, free: 2.766 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.6275, allocations: 4 kB / 0.7364 GB, free: 2.762 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.6275, allocations: 0 / 0.7364 GB, free: 2.762 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006532/0.6282, allocations: 0.4909 MB / 0.7369 GB, free: 2.254 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.621e-05/0.6283, allocations: 100.9 kB / 0.737 GB, free: 2.137 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.6284, allocations: 28 kB / 0.737 GB, free: 2.109 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.6286, allocations: 23.97 kB / 0.737 GB, free: 2.086 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002228/0.6288, allocations: 91.8 kB / 0.7371 GB, free: 1.996 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.965e-05/0.6288, allocations: 35.91 kB / 0.7371 GB, free: 1.961 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.036e-05/0.6289, allocations: 110.1 kB / 0.7372 GB, free: 1.855 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6289, allocations: 0 / 0.7372 GB, free: 1.855 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003788/0.6293, allocations: 75.98 kB / 0.7373 GB, free: 1.781 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.0002107/0.6295, allocations: 145.8 kB / 0.7374 GB, free: 1.629 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006452/0.6302, allocations: 370.8 kB / 0.7378 GB, free: 1.27 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6302, allocations: 0 / 0.7378 GB, free: 1.27 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002994/0.6305, allocations: 211.9 kB / 0.738 GB, free: 1.062 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003637/0.6309, allocations: 48.52 kB / 0.738 GB, free: 1.016 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009525/0.6319, allocations: 497.1 kB / 0.7385 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004505/0.6323, allocations: 0.7374 MB / 0.7392 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000139/0.6325, allocations: 38.95 kB / 0.7393 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/0.6326, allocations: 51.34 kB / 0.7393 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of SimCode: time 4.21e-07/0.6326, allocations: 0 / 0.7393 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of Templates: time 0.008601/0.6412, allocations: 3.538 MB / 0.7428 GB, free: 12.13 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: