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.865/2.865, allocations: 287.5 MB / 302.4 MB, free: 8.25 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.001374/0.001374, allocations: 177.2 kB / 371 MB, free: 10.86 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.415/2.415, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.00105/0.00105, allocations: 89.23 kB / 0.743 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005485/0.0005487, allocations: 12.59 kB / 0.8658 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2465, allocations: 115.3 MB / 0.9784 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.001085/0.2476, allocations: 490 kB / 0.9788 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002166/0.2498, allocations: 1.321 MB / 0.9801 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.98e-05/0.25, allocations: 0 / 0.9801 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.467e-05/0.25, allocations: 7.875 kB / 0.9801 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.845e-05/0.2501, allocations: 11.92 kB / 0.9801 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001125/0.2513, allocations: 273.3 kB / 0.9804 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003966/0.2517, allocations: 295.6 kB / 0.9807 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002257/0.2519, allocations: 41.09 kB / 0.9807 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001822/0.2521, allocations: 131.7 kB / 0.9808 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001852/0.2523, allocations: 115.6 kB / 0.981 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.11e-05/0.2524, allocations: 16 kB / 0.981 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001517/0.2526, allocations: 27.98 kB / 0.981 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.365e-05/0.2527, allocations: 59.84 kB / 0.9811 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.739e-05/0.2528, allocations: 53.64 kB / 0.9811 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003434/0.2531, allocations: 243.7 kB / 0.9813 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.2531, allocations: 0 / 0.9813 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.776e-06/0.2531, allocations: 0 / 0.9813 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.2532, allocations: 0 / 0.9813 GB, free: 25.27 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.0008015/0.254, allocations: 478.3 kB / 0.9818 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.254, allocations: 16.02 kB / 0.9818 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001239/0.2542, allocations: 23.89 kB / 0.9818 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000921/0.2551, allocations: 272.6 kB / 0.9821 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.689e-05/0.2552, allocations: 19.98 kB / 0.9821 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.572e-05/0.2553, allocations: 39.98 kB / 0.9822 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005699/0.2559, allocations: 214.8 kB / 0.9824 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.2559, allocations: 0 / 0.9824 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.69e-05/0.256, allocations: 11.98 kB / 0.9824 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.256, allocations: 7.984 kB / 0.9824 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00029/0.2563, allocations: 99.81 kB / 0.9825 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.2575, allocations: 0.5664 MB / 0.983 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006608/0.2582, allocations: 261 kB / 0.9833 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002722/0.2585, allocations: 116.8 kB / 0.9834 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.2585, allocations: 4 kB / 0.9834 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001117/0.2596, allocations: 0.5434 MB / 0.9839 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=44): time 4.028e-06/0.2596, allocations: 0 / 0.9839 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=44): time 0.001544/0.2612, allocations: 0.5558 MB / 0.9845 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.441e-05/0.2613, allocations: 55.41 kB / 0.9845 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.2615, allocations: 155.4 kB / 0.9847 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001307/0.2616, allocations: 57.7 kB / 0.9847 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.121e-05/0.2617, allocations: 120.9 kB / 0.9848 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.2618, allocations: 106.8 kB / 0.9849 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.672e-05/0.2619, allocations: 15.94 kB / 0.9849 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.365e-05/0.262, allocations: 334.8 kB / 0.9853 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005138/0.2625, allocations: 181.1 kB / 0.9854 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005737/0.2631, allocations: 293.8 kB / 0.9857 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004178/0.2635, allocations: 193.6 kB / 0.9859 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.2636, allocations: 3.938 kB / 0.9859 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001335/0.2649, allocations: 0.5604 MB / 0.9865 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.214e-05/0.265, allocations: 67.77 kB / 0.9865 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.265, allocations: 8 kB / 0.9865 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.6e-05/0.2651, allocations: 4 kB / 0.9865 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.2652, allocations: 27.86 kB / 0.9866 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.499e-05/0.2652, allocations: 8 kB / 0.9866 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006937/0.2659, allocations: 99.62 kB / 0.9867 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-05/0.266, allocations: 27.98 kB / 0.9867 GB, free: 19.48 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.0002852/0.2663, allocations: 174.9 kB / 0.9869 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.488e-05/0.2664, allocations: 35.67 kB / 0.9869 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001358/0.2665, allocations: 38.3 kB / 0.9869 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.148e-06/0.2666, allocations: 11.98 kB / 0.9869 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.118e-06/0.2666, allocations: 0 / 0.9869 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.2666, allocations: 3.938 kB / 0.9869 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001659/0.2683, allocations: 0.8781 MB / 0.9878 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.2683, allocations: 0 / 0.9878 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.913e-05/0.2684, allocations: 19.92 kB / 0.9878 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.388e-06/0.2684, allocations: 0 / 0.9878 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.578e-05/0.2685, allocations: 19.97 kB / 0.9878 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.2685, allocations: 4 kB / 0.9878 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.2685, allocations: 0 / 0.9878 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009901/0.2695, allocations: 0.5306 MB / 0.9884 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.861e-05/0.2696, allocations: 104.8 kB / 0.9885 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/0.2697, allocations: 19.98 kB / 0.9885 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001683/0.2699, allocations: 19.92 kB / 0.9885 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002618/0.2702, allocations: 91.8 kB / 0.9886 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.864e-05/0.2703, allocations: 35.97 kB / 0.9886 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.342e-05/0.2703, allocations: 101 kB / 0.9887 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2703, allocations: 0 / 0.9887 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006065/0.271, allocations: 95.98 kB / 0.9888 GB, free: 17.22 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.0002987/0.2713, allocations: 151.2 kB / 0.989 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001263/0.2726, allocations: 0.5525 MB / 0.9895 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.2726, allocations: 0.75 kB / 0.9895 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004993/0.2731, allocations: 260.1 kB / 0.9897 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005514/0.2737, allocations: 48.88 kB / 0.9898 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.2748, allocations: 474.1 kB / 0.9902 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001972/0.275, allocations: 0.7374 MB / 0.991 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002342/0.2753, allocations: 42.89 kB / 0.991 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002205/0.2755, allocations: 47.41 kB / 0.991 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of SimCode: time 1.012e-06/0.2755, allocations: 0 / 0.991 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of Templates: time 0.01254/0.2881, allocations: 4.44 MB / 0.9954 GB, free: 10.43 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)