Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.902/2.902, allocations: 287.3 MB / 302.3 MB, free: 8.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001542/0.001541, allocations: 190.2 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.378/2.378, allocations: 205.4 MB / 0.6295 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001103/0.001103, allocations: 97.66 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004902/0.0004904, allocations: 12.91 kB / 0.8656 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2402, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.001045/0.2413, allocations: 486.1 kB / 0.9787 GB, free: 27.9 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002005/0.2433, allocations: 1.286 MB / 0.9799 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.487e-05/0.2435, allocations: 4 kB / 0.9799 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.656e-05/0.2435, allocations: 3.938 kB / 0.9799 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.554e-05/0.2436, allocations: 7.969 kB / 0.9799 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.2446, allocations: 273.8 kB / 0.9802 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002578/0.2449, allocations: 191.7 kB / 0.9804 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/0.2451, allocations: 37.09 kB / 0.9804 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001696/0.2453, allocations: 127.8 kB / 0.9805 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001726/0.2454, allocations: 111.6 kB / 0.9806 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.816e-05/0.2455, allocations: 16 kB / 0.9807 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.2457, allocations: 31.98 kB / 0.9807 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.075e-05/0.2457, allocations: 63.78 kB / 0.9808 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.637e-05/0.2458, allocations: 61.62 kB / 0.9808 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003449/0.2462, allocations: 231.7 kB / 0.981 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.2462, allocations: 3.938 kB / 0.981 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.454e-06/0.2462, allocations: 0 / 0.981 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.2462, allocations: 0 / 0.981 GB, free: 25.46 MB / 0.6198 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.0007226/0.247, allocations: 478.3 kB / 0.9815 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.247, allocations: 16.02 kB / 0.9815 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.2471, allocations: 27.89 kB / 0.9815 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008956/0.2481, allocations: 276.6 kB / 0.9818 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.432e-05/0.2481, allocations: 19.98 kB / 0.9818 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.815e-05/0.2482, allocations: 35.98 kB / 0.9819 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005204/0.2488, allocations: 214.8 kB / 0.9821 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.2488, allocations: 0 / 0.9821 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.861e-05/0.2489, allocations: 15.97 kB / 0.9821 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.2489, allocations: 8 kB / 0.9821 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000286/0.2492, allocations: 95.88 kB / 0.9822 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001164/0.2504, allocations: 0.5664 MB / 0.9827 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006278/0.251, allocations: 250.6 kB / 0.983 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.251, allocations: 0 / 0.983 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001063/0.2521, allocations: 0.5429 MB / 0.9835 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=44): time 3.096e-06/0.2521, allocations: 0 / 0.9835 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=44): time 0.001431/0.2536, allocations: 0.5635 MB / 0.984 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.2537, allocations: 59.41 kB / 0.9841 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.2538, allocations: 151.8 kB / 0.9842 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.000118/0.254, allocations: 61.62 kB / 0.9843 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.335e-05/0.2541, allocations: 113.2 kB / 0.9844 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.2542, allocations: 102.8 kB / 0.9845 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-05/0.2543, allocations: 16 kB / 0.9845 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.453e-05/0.2544, allocations: 334.8 kB / 0.9848 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005233/0.2549, allocations: 189.1 kB / 0.985 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005678/0.2555, allocations: 277.8 kB / 0.9853 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004175/0.2559, allocations: 201.5 kB / 0.9855 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.2559, allocations: 0 / 0.9855 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001327/0.2573, allocations: 0.5643 MB / 0.986 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.068e-05/0.2574, allocations: 63.39 kB / 0.9861 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.2574, allocations: 4 kB / 0.9861 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.166e-05/0.2574, allocations: 4 kB / 0.9861 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.2575, allocations: 27.86 kB / 0.9861 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.608e-05/0.2576, allocations: 11.94 kB / 0.9861 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007432/0.2583, allocations: 104 kB / 0.9862 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.963e-05/0.2584, allocations: 27.98 kB / 0.9863 GB, free: 19.8 MB / 0.6198 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,$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.falCleTruIni.u,falCleTruIni.u,$PRE.falCleTruIni.y,falCleTruIni.y,$PRE.falCleFalIni.u,falCleFalIni.u,$PRE.falCleFalIni.y,falCleFalIni.y,$PRE.truCleTruIni.u,truCleTruIni.u,$PRE.truCleTruIni.y,truCleTruIni.y,$PRE.truCleFalIni.u,truCleFalIni.u,$PRE.truCleFalIni.y,truCleFalIni.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.y,cleInp.y,$PRE.togInp.y,togInp.y,truCleFalIni.clr,truCleTruIni.clr,falCleFalIni.clr,falCleTruIni.clr) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000282/0.2587, allocations: 171 kB / 0.9864 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.219e-05/0.2588, allocations: 31.67 kB / 0.9865 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000124/0.259, allocations: 46.23 kB / 0.9865 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.259, allocations: 8 kB / 0.9865 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.259, allocations: 0 / 0.9865 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.259, allocations: 0 / 0.9865 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001649/0.2607, allocations: 0.8781 MB / 0.9874 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.2607, allocations: 0 / 0.9874 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.181e-05/0.2608, allocations: 15.92 kB / 0.9874 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/0.2608, allocations: 4 kB / 0.9874 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.609e-05/0.2609, allocations: 19.97 kB / 0.9874 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.2609, allocations: 4 kB / 0.9874 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.2609, allocations: 4 kB / 0.9874 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009725/0.2619, allocations: 0.5345 MB / 0.9879 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.953e-05/0.262, allocations: 100.8 kB / 0.988 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.2621, allocations: 23.98 kB / 0.9881 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.2623, allocations: 11.98 kB / 0.9881 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002751/0.2626, allocations: 99.8 kB / 0.9882 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.877e-05/0.2627, allocations: 31.97 kB / 0.9882 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.168e-05/0.2627, allocations: 107.2 kB / 0.9883 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.3e-07/0.2628, allocations: 0 / 0.9883 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006029/0.2634, allocations: 91.98 kB / 0.9884 GB, free: 17.54 MB / 0.6198 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 (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.0002654/0.2636, allocations: 147.2 kB / 0.9885 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001226/0.2649, allocations: 0.5642 MB / 0.9891 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.2649, allocations: 0 / 0.9891 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004913/0.2654, allocations: 256.1 kB / 0.9893 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003915/0.2658, allocations: 33.98 kB / 0.9894 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.2669, allocations: 467 kB / 0.9898 GB, free: 16.03 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001833/0.2671, allocations: 0.7374 MB / 0.9905 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002234/0.2673, allocations: 42.95 kB / 0.9906 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000233/0.2676, allocations: 51.41 kB / 0.9906 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of SimCode: time 1.222e-06/0.2676, allocations: 0 / 0.9906 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of Templates: time 0.01198/0.2796, allocations: 4.425 MB / 0.9949 GB, free: 10.79 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe 2>&1)