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.008059/0.008059, allocations: 100.9 kB / 15.73 MB, free: 6 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.001628/0.001628, allocations: 189.2 kB / 16.67 MB, free: 5.934 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.692/1.692, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.617/1.617, allocations: 251.7 MB / 0.5094 GB, free: 2.957 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.001483/0.001483, allocations: 79.89 kB / 0.7258 GB, free: 8.977 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3083, allocations: 104.7 MB / 0.8281 GB, free: 184 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.003328/0.3117, allocations: 1.502 MB / 0.8295 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008992/0.3126, allocations: 367.9 kB / 0.8299 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.885e-05/0.3127, allocations: 4 kB / 0.8299 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 5.345e-05/0.3128, allocations: 7.875 kB / 0.8299 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000122/0.3129, allocations: 15.8 kB / 0.8299 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003841/0.3133, allocations: 119.8 kB / 0.83 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004019/0.3137, allocations: 255.6 kB / 0.8303 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002334/0.3139, allocations: 45.11 kB / 0.8303 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001522/0.3141, allocations: 119.7 kB / 0.8304 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001509/0.3142, allocations: 99.67 kB / 0.8305 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.092e-05/0.3143, allocations: 28 kB / 0.8305 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 5.006e-05/0.3144, allocations: 28 kB / 0.8306 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.51e-05/0.3145, allocations: 75.77 kB / 0.8306 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000162/0.3146, allocations: 103.7 kB / 0.8307 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003428/0.315, allocations: 255 kB / 0.831 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.315, allocations: 0 / 0.831 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.334e-06/0.315, allocations: 0 / 0.831 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.614e-05/0.315, allocations: 0 / 0.831 GB, free: 13.17 MB / 0.6544 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.0009105/0.3159, allocations: 0.5063 MB / 0.8315 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.316, allocations: 12.03 kB / 0.8315 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.546e-05/0.3161, allocations: 24.83 kB / 0.8315 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004056/0.3165, allocations: 256 kB / 0.8318 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.457e-05/0.3165, allocations: 20.3 kB / 0.8318 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.778e-05/0.3166, allocations: 24.38 kB / 0.8318 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003934/0.317, allocations: 219.7 kB / 0.832 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.317, allocations: 192 / 0.832 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.452e-05/0.3171, allocations: 15.92 kB / 0.832 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.3171, allocations: 8 kB / 0.832 GB, free: 12 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001924/0.3173, allocations: 95.88 kB / 0.8321 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009432/0.3182, allocations: 0.5197 MB / 0.8326 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007308/0.319, allocations: 270.5 kB / 0.8329 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00019/0.3192, allocations: 108.8 kB / 0.833 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.3192, allocations: 0 / 0.833 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009726/0.3202, allocations: 0.5294 MB / 0.8335 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=42): time 2.024e-06/0.3202, allocations: 0 / 0.8335 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=42): time 0.001071/0.3213, allocations: 0.5125 MB / 0.834 GB, free: 9.895 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.679e-05/0.3213, allocations: 59.41 kB / 0.8341 GB, free: 9.824 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.3216, allocations: 168.3 kB / 0.8342 GB, free: 9.648 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.006e-05/0.3216, allocations: 57.69 kB / 0.8343 GB, free: 9.586 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.3218, allocations: 117 kB / 0.8344 GB, free: 9.469 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9.916e-05/0.3219, allocations: 103.3 kB / 0.8345 GB, free: 9.367 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001624/0.322, allocations: 98.23 kB / 0.8346 GB, free: 9.266 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001961/0.3222, allocations: 334.8 kB / 0.8349 GB, free: 8.93 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002602/0.3225, allocations: 141.1 kB / 0.835 GB, free: 8.793 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003821/0.3229, allocations: 247.4 kB / 0.8353 GB, free: 8.52 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005067/0.3234, allocations: 263.5 kB / 0.8355 GB, free: 8.227 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.3234, allocations: 8 kB / 0.8355 GB, free: 8.219 MB / 0.6544 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0006845/0.3241, allocations: 410.7 kB / 0.8359 GB, free: 7.812 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.94e-05/0.3242, allocations: 8 kB / 0.8359 GB, free: 7.805 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.3242, allocations: 0 / 0.8359 GB, free: 7.805 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.756e-05/0.3242, allocations: 11.94 kB / 0.8359 GB, free: 7.793 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.3243, allocations: 27.86 kB / 0.836 GB, free: 7.766 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.755e-05/0.3243, allocations: 8.297 kB / 0.836 GB, free: 7.758 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001654/0.3245, allocations: 35.84 kB / 0.836 GB, free: 7.723 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.123e-05/0.3246, allocations: 23.98 kB / 0.836 GB, free: 7.699 MB / 0.6544 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.0002104/0.3248, allocations: 166.9 kB / 0.8362 GB, free: 7.523 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.052e-05/0.3248, allocations: 27.89 kB / 0.8362 GB, free: 7.496 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001172/0.325, allocations: 46.3 kB / 0.8363 GB, free: 7.449 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.454e-05/0.325, allocations: 7.938 kB / 0.8363 GB, free: 7.441 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.325, allocations: 0 / 0.8363 GB, free: 7.441 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.325, allocations: 3.984 kB / 0.8363 GB, free: 7.438 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001282/0.3263, allocations: 0.8741 MB / 0.8371 GB, free: 6.504 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3263, allocations: 0 / 0.8371 GB, free: 6.504 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.181e-05/0.3264, allocations: 15.94 kB / 0.8371 GB, free: 6.488 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.3264, allocations: 0 / 0.8371 GB, free: 6.488 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.929e-05/0.3264, allocations: 23.97 kB / 0.8372 GB, free: 6.465 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.3264, allocations: 4 kB / 0.8372 GB, free: 6.461 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3264, allocations: 0 / 0.8372 GB, free: 6.461 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006681/0.3271, allocations: 0.4961 MB / 0.8377 GB, free: 5.949 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.936e-05/0.3271, allocations: 96.91 kB / 0.8378 GB, free: 5.836 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.361e-05/0.3272, allocations: 27.98 kB / 0.8378 GB, free: 5.809 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.3274, allocations: 19.97 kB / 0.8378 GB, free: 5.789 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001731/0.3276, allocations: 75.89 kB / 0.8379 GB, free: 5.715 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.283e-05/0.3276, allocations: 31.97 kB / 0.8379 GB, free: 5.684 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.2e-05/0.3277, allocations: 106.1 kB / 0.838 GB, free: 5.582 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.4e-07/0.3277, allocations: 0 / 0.838 GB, free: 5.582 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003332/0.328, allocations: 79.98 kB / 0.8381 GB, free: 5.504 MB / 0.6544 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.0002359/0.3283, allocations: 148.5 kB / 0.8382 GB, free: 5.352 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006748/0.329, allocations: 375.5 kB / 0.8386 GB, free: 4.984 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.329, allocations: 3.938 kB / 0.8386 GB, free: 4.98 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003189/0.3293, allocations: 219.4 kB / 0.8388 GB, free: 4.766 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.3297, allocations: 42.31 kB / 0.8388 GB, free: 4.727 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.3309, allocations: 473 kB / 0.8393 GB, free: 4.238 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003987/0.3313, allocations: 0.7371 MB / 0.84 GB, free: 3.477 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001347/0.3315, allocations: 42.95 kB / 0.84 GB, free: 3.434 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/0.3316, allocations: 47.41 kB / 0.8401 GB, free: 3.387 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.3316, allocations: 0 / 0.8401 GB, free: 3.387 MB / 0.6544 GB Notification: Performance of Templates: time 0.008703/0.3403, allocations: 3.666 MB / 0.8437 GB, free: 15.73 MB / 0.67 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)