Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_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_1.6_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.00145/0.00145, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.01149/0.01149, allocations: 171.4 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.574/1.574, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.962/2.962, allocations: 473.4 MB / 0.7469 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003889/0.000389, allocations: 10.44 kB / 0.9158 GB, free: 33.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4181/0.4185, allocations: 162.2 MB / 1.074 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.00117/0.4197, allocations: 495.4 kB / 1.075 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002318/0.422, allocations: 1.35 MB / 1.076 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.4222, allocations: 0 / 1.076 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.535e-05/0.4223, allocations: 7.922 kB / 1.076 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001212/0.4224, allocations: 15.92 kB / 1.076 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.4235, allocations: 282.2 kB / 1.076 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004287/0.4239, allocations: 339.2 kB / 1.077 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002048/0.4241, allocations: 49.09 kB / 1.077 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003097/0.4245, allocations: 127.8 kB / 1.077 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002171/0.4247, allocations: 119.6 kB / 1.077 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.207e-05/0.4248, allocations: 16 kB / 1.077 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.4249, allocations: 31.98 kB / 1.077 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.379e-05/0.425, allocations: 51.86 kB / 1.077 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001828/0.4252, allocations: 149.3 kB / 1.077 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004548/0.4256, allocations: 311.3 kB / 1.077 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.84e-06/0.4257, allocations: 3.938 kB / 1.077 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.914e-06/0.4257, allocations: 0 / 1.077 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.658e-06/0.4257, allocations: 0 / 1.077 GB, free: 4.234 MB / 0.8262 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.000802/0.4265, allocations: 478.6 kB / 1.078 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/0.4266, allocations: 8.031 kB / 1.078 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001323/0.4267, allocations: 32.73 kB / 1.078 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006973/0.4274, allocations: 268.2 kB / 1.078 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.607e-05/0.4275, allocations: 20.36 kB / 1.078 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.321e-05/0.4275, allocations: 40.3 kB / 1.078 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004312/0.428, allocations: 221.9 kB / 1.078 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.428, allocations: 3.938 kB / 1.078 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.926e-05/0.428, allocations: 15.97 kB / 1.078 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.4281, allocations: 4 kB / 1.078 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001941/0.4283, allocations: 93.02 kB / 1.079 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009466/0.4292, allocations: 0.5625 MB / 1.079 GB, free: 2.355 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004798/0.4297, allocations: 258.6 kB / 1.079 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001962/0.4299, allocations: 108.8 kB / 1.079 GB, free: 1.984 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.4299, allocations: 8.031 kB / 1.079 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000828/0.4308, allocations: 0.5551 MB / 1.08 GB, free: 1.41 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=44): time 1.723e-06/0.4308, allocations: 0 / 1.08 GB, free: 1.41 MB / 0.8262 GB Notification: Performance of matching and sorting (n=44): time 0.0009986/0.4318, allocations: 0.5607 MB / 1.081 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.35e-05/0.4319, allocations: 67.34 kB / 1.081 GB, free: 0.7656 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.432, allocations: 151.2 kB / 1.081 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 9.022e-05/0.4321, allocations: 57.69 kB / 1.081 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.4322, allocations: 124.8 kB / 1.081 GB, free: 428 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.4323, allocations: 94.84 kB / 1.081 GB, free: 332 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.4325, allocations: 73.67 kB / 1.081 GB, free: 252 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.4326, allocations: 330.8 kB / 1.081 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003485/0.433, allocations: 185.1 kB / 1.082 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004375/0.4334, allocations: 289.8 kB / 1.082 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004965/0.4339, allocations: 369.1 kB / 1.082 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.4339, allocations: 4 kB / 1.082 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009247/0.4349, allocations: 0.5686 MB / 1.083 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.21e-05/0.4349, allocations: 67.44 kB / 1.083 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.182e-05/0.435, allocations: 4 kB / 1.083 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.435, allocations: 11.92 kB / 1.083 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.698e-05/0.4351, allocations: 27.86 kB / 1.083 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/0.4351, allocations: 11.94 kB / 1.083 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004385/0.4355, allocations: 99.62 kB / 1.083 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.373e-05/0.4356, allocations: 24 kB / 1.083 GB, free: 14.15 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 70 ($PRE.falCleTruIni.clr,$PRE.falCleFalIni.clr,$PRE.truCleTruIni.clr,$PRE.truCleFalIni.clr,$PRE.swiCleInp.clr,$PRE.swiCleInp1.clr,$whenCondition27,$whenCondition28,$whenCondition25,$whenCondition26,fal.y,tru.y,falCleTruIni.clr,falCleFalIni.clr,truCleTruIni.clr,truCleFalIni.clr,togInp.y,$PRE.togInp.y,cleInp.y,$PRE.cleInp.y,swiCleInp1.y,$PRE.swiCleInp1.y,swiCleInp1.clr,swiCleInp1.u,$PRE.swiCleInp1.u,swiCleInp.y,$PRE.swiCleInp.y,swiCleInp.clr,swiCleInp.u,$PRE.swiCleInp.u,truCleFalIni.y,$PRE.truCleFalIni.y,truCleFalIni.u,$PRE.truCleFalIni.u,truCleTruIni.y,$PRE.truCleTruIni.y,truCleTruIni.u,$PRE.truCleTruIni.u,falCleFalIni.y,$PRE.falCleFalIni.y,falCleFalIni.u,$PRE.falCleFalIni.u,falCleTruIni.y,$PRE.falCleTruIni.y,falCleTruIni.u,$PRE.falCleTruIni.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 (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 2 * 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.0002084/0.4358, allocations: 178.9 kB / 1.083 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.688e-05/0.4359, allocations: 31.7 kB / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001091/0.436, allocations: 34.31 kB / 1.083 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.436, allocations: 11.92 kB / 1.083 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/0.436, allocations: 4 kB / 1.083 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.436, allocations: 3.984 kB / 1.083 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001344/0.4374, allocations: 0.8848 MB / 1.084 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/0.4374, allocations: 3.938 kB / 1.084 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.084e-05/0.4375, allocations: 4 kB / 1.084 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.4375, allocations: 4 kB / 1.084 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.484e-05/0.4375, allocations: 23.95 kB / 1.084 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.4375, allocations: 3.938 kB / 1.084 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4375, allocations: 4 kB / 1.084 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007273/0.4383, allocations: 0.5268 MB / 1.085 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.674e-05/0.4384, allocations: 104.7 kB / 1.085 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.116e-05/0.4384, allocations: 27.98 kB / 1.085 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.4386, allocations: 11.98 kB / 1.085 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/0.4387, allocations: 63.91 kB / 1.085 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.298e-05/0.4388, allocations: 39.95 kB / 1.085 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.63e-05/0.4389, allocations: 104.5 kB / 1.085 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.4e-07/0.4389, allocations: 3.938 kB / 1.085 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004331/0.4393, allocations: 95.98 kB / 1.085 GB, free: 11.89 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 44 (swiCleInp1.clr,swiCleInp.clr,$whenCondition27,$whenCondition28,$whenCondition25,$whenCondition26,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,falCleTruIni.u,falCleTruIni.y,falCleFalIni.u,falCleFalIni.y,truCleTruIni.u,truCleTruIni.y,truCleFalIni.u,truCleFalIni.y,swiCleInp.u,swiCleInp.y,swiCleInp1.u,swiCleInp1.y,cleInp.y,togInp.y) * Number of discrete states: 12 (falCleFalIni.u,falCleFalIni.y,falCleTruIni.u,falCleTruIni.y,truCleTruIni.u,truCleTruIni.y,truCleFalIni.u,truCleFalIni.y,swiCleInp1.u,swiCleInp1.y,swiCleInp.u,swiCleInp.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * 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.0002947/0.4396, allocations: 151.7 kB / 1.085 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009169/0.4406, allocations: 0.565 MB / 1.086 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.4406, allocations: 4.188 kB / 1.086 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004022/0.441, allocations: 251.8 kB / 1.086 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000438/0.4414, allocations: 41.28 kB / 1.086 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.4424, allocations: 477.5 kB / 1.087 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003928/0.4428, allocations: 0.7335 MB / 1.087 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000134/0.443, allocations: 38.95 kB / 1.087 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/0.4431, allocations: 47.41 kB / 1.087 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of SimCode: time 5.61e-07/0.4432, allocations: 0 / 1.087 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of Templates: time 0.01069/0.4538, allocations: 4.627 MB / 1.092 GB, free: 4.922 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe 2>&1)